Package-level declarations

Types

Link copied to clipboard
annotation class SendOnly

Annotate a TelegramMessageElement type to be used only for sending.

Link copied to clipboard

A Telegram Audio for sending and serialization is not supported.

Link copied to clipboard

A Telegram Document for sending and serialization is not supported.

Link copied to clipboard
Link copied to clipboard

A Telegram Audio that received from a message event.

Link copied to clipboard
@SerialName(value = "telegram.m.disable_notification")
object TelegramDisableNotification : TelegramMessageElement

Mark the disable_notification in sending messages to true.

Link copied to clipboard

A Telegram Document file that received from a message event.

Link copied to clipboard
@SerialName(value = "telegram.m.link_preview_options")
data class TelegramLinkPreviewOptions(val source: LinkPreviewOptions) : TelegramMessageElement

A Telegram LinkPreviewOptions.

Link copied to clipboard
Link copied to clipboard

The supertype for all Message.Element implementations in this Telegram Component.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A TelegramMessageElement implementation that provide a TelegramApi (witch the type of result is Message or MessageId, e.g. SendMessageApi, ForwardMessageApi, CopyMessageApi, etc.) directly.

Link copied to clipboard
Link copied to clipboard

An implementation for Image based on Telegram Photo.

Link copied to clipboard
@SerialName(value = "telegram.m.photo_image.photo_sizes")
class TelegramPhotoSizesImage : TelegramPhotoImage

An TelegramPhotoImage implementation containing a list of PhotoSize is a type parsed by message events.

Link copied to clipboard
@SerialName(value = "telegram.m.protect_content")
object TelegramProtectContent : TelegramMessageElement

Mark the protect_content in sending messages to true.

Link copied to clipboard