Module telecord::dc [] [src]

This module contains types and functions related to Discord and Serenity

Modules

telegram

This module defines how the Discord bot creates intermediate Message Representations and sends them to the Telegram bot.

Structs

FileMessage

Define the required information for sending files.

Handler

Defines the Handler type, which is used in the Serenity Library to handle incoming messages from Discord.

Message

The outermost layer of the Discord Message representation

Enums

MessageContent

Enumerate the kinds of messages that can be sent

Functions

forward_iter

Iterates over the given receiver and translates each Message into legitimate Discord Messages. This function should be called in its own thread, since it will block until all Messages are processed.