Module telecord::tg [] [src]

This module contains types and functions related to Telegram and Telebot

Modules

discord

This module contains functions related to forwarding messages to Discord from Telegram.

Structs

FileMessage

Defines the content of a Message with an attached File.

Message

Message is the outermost structure for the intermediate type.

Enums

FileKind

All reasonable kinds of files. The FileKind::Unknown variant is used for any kind of file that does not fit into the categories of Image, Video, or Audio and will be sent as a Document to telegram.

MessageContent

Defines the content of a message

Functions

handle_forward

Given an intermediate Message type, send a legitimate message to Telegram.