Crate tg_flows Copy item path Source Administrator Administrator of the group. This struct is part of the ChatMemberKind
enum. Animation This object represents an animation file (GIF or H.264/MPEG-4 AVC video
without sound). Audio This object represents an audio file to be treated as music by the Telegram
clients. Banned User that was banned in the chat and can’t return to it or view chat
messages. This struct is part of the ChatMemberKind
enum. BotCommand This object represents a bot command. CallbackGame A placeholder, currently holds no information. CallbackQuery This object represents an incoming callback query from a callback button in
an inline keyboard . Chat This object represents a chat. ChatAdministratorRights Represents the rights of an administrator in a chat. ChatId Identifier of a chat. ChatInviteLink ChatJoinRequest Represents a join request sent to a chat. ChatLocation Represents a location to which a chat is connected. ChatMember This object contains information about one member of the chat. ChatMemberUpdated ChatPermissions Describes actions that a non-administrator user is allowed to take in a
chat. ChatPhoto This object represents a chat photo. ChatPrivate ChatPublic ChosenInlineResult Represents a result of an inline query that was chosen by the user and
sent to their chat partner. Contact This object represents a phone contact. Dice This object represents an animated emoji that displays a random value. Document This object represents a general file (as opposed to photos , voice
messages and audio files ). EncryptedCredentials Contains data required for decrypting and authenticating
EncryptedPassportElement
. EncryptedPassportElement Contains information about documents or other Telegram Passport elements
shared with the bot by the user. EncryptedPassportElementAddress EncryptedPassportElementBankStatement EncryptedPassportElementDriverLicense EncryptedPassportElementEmail EncryptedPassportElementIdentityCard EncryptedPassportElementInternalPassport EncryptedPassportElementPassport EncryptedPassportElementPassportRegistration EncryptedPassportElementPersonalDetails EncryptedPassportElementPhoneNumber EncryptedPassportElementRentalAgreement EncryptedPassportElementTemporaryRegistration EncryptedPassportElementUtilityBill False A type that is always false. File This object represents a file ready to be downloaded. FileMeta Metadata of a File
. ForceReply Upon receiving a message with this object, Telegram clients will display a
reply interface to the user (act as if the user has selected the bot‘s
message and tapped ’Reply’). ForumTopic This object represents a forum topic. ForumTopicClosed This object represents a service message about a forum topic closed in the
chat. Currently holds no information. ForumTopicCreated This object represents a service message about a new forum topic created in
the chat. ForumTopicEdited This object represents a service message about an edited forum topic. ForumTopicReopened This object represents a service message about a forum topic reopened in the
chat. Currently holds no information. Forward Information about forwarded message. Game This object represents a game. GameHighScore This object represents one row of the high scores table for a game. GeneralForumTopicHidden This object represents a service message about General forum topic hidden in
the chat. Currently holds no information. GeneralForumTopicUnhidden This object represents a service message about General forum topic unhidden
in the chat. Currently holds no information. InlineKeyboardButton This object represents one button of an inline keyboard. InlineKeyboardMarkup This object represents an inline keyboard that appears right next to the
message it belongs to. InlineQuery This object represents an incoming inline query. InlineQueryResultArticle Represents a link to an article or web page. InlineQueryResultAudio Represents a link to an MP3 audio file. By default, this audio file will be
sent by the user. InlineQueryResultCachedAudio Represents a link to an MP3 audio file stored on the Telegram servers. InlineQueryResultCachedDocument Represents a link to a file stored on the Telegram servers. InlineQueryResultCachedGif Represents a link to an animated GIF file stored on the Telegram servers. InlineQueryResultCachedMpeg4Gif Represents a link to a video animation (H.264/MPEG-4 AVC video without
sound) stored on the Telegram servers. InlineQueryResultCachedPhoto Represents a link to a photo stored on the Telegram servers. InlineQueryResultCachedSticker Represents a link to a sticker stored on the Telegram servers. InlineQueryResultCachedVideo Represents a link to a video file stored on the Telegram servers. InlineQueryResultCachedVoice Represents a link to a voice message stored on the Telegram servers. InlineQueryResultContact Represents a contact with a phone number. InlineQueryResultDocument Represents a link to a file. InlineQueryResultGame Represents a game . InlineQueryResultGif Represents a link to an animated GIF file. InlineQueryResultLocation Represents a location on a map. InlineQueryResultMpeg4Gif Represents a link to a video animation (H.264/MPEG-4 AVC video without
sound). InlineQueryResultPhoto Represents a link to a photo. InlineQueryResultVenue Represents a venue. InlineQueryResultVideo Represents a link to a page containing an embedded video player or a video
file. InlineQueryResultVoice Represents a link to a voice recording in an .ogg container encoded with
OPUS. InputFile This object represents the contents of a file to be uploaded. InputMediaAnimation Represents an animation file (GIF or H.264/MPEG-4 AVC video without
sound) to be sent. InputMediaAudio Represents an audio file to be treated as music to be sent. InputMediaDocument Represents a general file to be sent. InputMediaPhoto Represents a photo to be sent. InputMediaVideo Represents a video to be sent. InputMessageContentContact Represents the content of a contact message to be sent as the result of
an inline query. InputMessageContentInvoice Represents the content of an invoice message to be sent as the result of
an inline query. InputMessageContentLocation Represents the content of a location message to be sent as the result of an
inline query. InputMessageContentText Represents the content of a text message to be sent as the result of an
inline query. InputMessageContentVenue Represents the content of a venue message to be sent as the result of
an inline query. Invoice This object contains basic information about an invoice. KeyboardButton This object represents one button of the reply keyboard. KeyboardMarkup This object represents a custom keyboard with reply options (see
Introduction to bots for details and examples). KeyboardRemove Upon receiving a message with this object, Telegram clients will remove the
current custom keyboard and display the default letter-keyboard. LabeledPrice This object represents a portion of the price for goods or services. Location This object represents a point on the map. LoginUrl This object represents a parameter of the inline keyboard button used to
automatically authorize a user. MaskPosition This object describes the position on faces where a mask should be placed by
default. Me Returned only in GetMe
. MediaAnimation MediaAudio MediaContact MediaDocument MediaGame MediaLocation MediaPhoto MediaPoll MediaSticker MediaText MediaVenue MediaVideo MediaVideoNote MediaVoice Message This object represents a message. MessageAutoDeleteTimerChanged This object represents a service message about a change in auto-delete timer
settings. MessageChannelChatCreated MessageCommon MessageConnectedWebsite MessageDeleteChatPhoto MessageDice MessageEntity This object represents one special entity in a text message. MessageEntityRef A “parsed” MessageEntity
. MessageForumTopicClosed MessageForumTopicCreated MessageForumTopicEdited MessageForumTopicReopened MessageGeneralForumTopicHidden MessageGeneralForumTopicUnhidden MessageGroupChatCreated MessageId A unique message identifier. MessageInvoice MessageLeftChatMember MessageMessageAutoDeleteTimerChanged MessageNewChatMembers MessageNewChatPhoto MessageNewChatTitle MessagePassportData MessagePinned MessageProximityAlertTriggered MessageSuccessfulPayment MessageSupergroupChatCreated MessageVideoChatEnded MessageVideoChatParticipantsInvited MessageVideoChatScheduled MessageVideoChatStarted MessageWebAppData MessageWriteAccessAllowed OrderInfo This object represents information about an order. Owner Owner of the group. This struct is part of the ChatMemberKind
enum. PassportData Contains information about Telegram Passport data shared with the bot by the
user. PassportElementError This object represents an error in the Telegram Passport element which was
submitted that should be resolved by the user. PassportElementErrorDataField Represents an issue in one of the data fields that was provided by the
user. PassportElementErrorFile Represents an issue with a document scan. PassportElementErrorFiles Represents an issue with a list of scans. PassportElementErrorFrontSide Represents an issue with the front side of a document. PassportElementErrorReverseSide Represents an issue with the reverse side of a document. PassportElementErrorSelfie The error is considered resolved when the file with the selfie changes. PassportElementErrorTranslationFile Represents an issue with one of the files that constitute the
translation of a document. PassportElementErrorTranslationFiles Represents an issue with the translated version of a document. PassportElementErrorUnspecified Represents an issue in an unspecified place. PassportFile This object represents a file uploaded to Telegram Passport. PhotoSize This object represents one size of a photo or a file /sticker thumbnail. Poll This object contains information about a poll. PollAnswer PollOption This object contains information about one answer option in a poll. PreCheckoutQuery This object contains information about an incoming pre-checkout query. ProximityAlertTriggered This object represents the content of a service message, sent whenever a
user in the chat triggers a proximity alert set by another user. PublicChatChannel PublicChatGroup PublicChatSupergroup Restricted User, restricted in the group. This struct is part of the ChatMemberKind
enum. SentWebAppMessage Contains information about an inline message sent by a Web App on behalf
of a user. ShippingAddress This object represents a shipping address. ShippingOption This object represents one shipping option. ShippingQuery This object contains information about an incoming shipping query. Sticker This object represents a sticker. StickerSet This object represents a sticker set. SuccessfulPayment This object contains basic information about a successful payment. Telegram True A type that is always true. Update This object represents an incoming update. User This object represents a Telegram user or bot. UserId Identifier of a user. UserProfilePhotos This object represent a user’s profile pictures. Venue This object represents a venue. Video This object represents a video file. VideoChatEnded This object represents a service message about a video chat ended in the
chat. VideoChatParticipantsInvited This object represents a service message about new members invited to a
video chat. VideoChatScheduled This object represents a service message about a video chat scheduled in the
chat. VideoChatStarted This object represents a service message about a video chat started in the
chat. Currently holds no information. VideoNote This object represents a video message (available in Telegram apps as of
[v.4.0]). Voice This object represents a voice note. WebAppData Contains data sent from a Web App to the bot. WebAppInfo Contains information about a Web App . WebhookInfo Contains information about the current status of a webhook. WriteAccessAllowed This object represents a service message about a user allowing a bot added
to the attachment menu to write messages. Currently holds no information. AllowedUpdate BotCommandScope This object represents the scope to which bot commands are applied. ButtonRequest Request something from user, when a button is pressed. ChatAction ChatKind ChatMemberKind ChatMemberStatus ChatMigration Represents group migration to a supergroup or a supergroup migration from a
group. ChatType Type of the chat, from which the inline query was sent. CountryCode ISO 3166-1 alpha-2 language code. Currency ISO 4217 currency. DiceEmoji EncryptedPassportElementKind ForwardedFrom The entity that sent the original message that later was forwarded. InlineKeyboardButtonKind InlineQueryResult This object represents one result of an inline query. InputMedia This object represents the content of a media message to be sent. InputMessageContent This object represents the content of a message to be sent as a result of an
inline query. InputSticker Sticker file that may be uploaded to telegram. KeyboardButtonPollType This object represents type of a poll, which is allowed to be created and
sent when the corresponding button is pressed. MaskPoint The part of the face relative to which the mask should be placed. MediaKind MenuButton This object describes the bot’s menu button in a private chat. MessageEntityKind MessageKind Method ParseMode Formatting options. PassportElementErrorDataFieldType PassportElementErrorFileType PassportElementErrorFilesType PassportElementErrorFrontSideType PassportElementErrorKind PassportElementErrorReverseSideType PassportElementErrorSelfieType PassportElementErrorTranslationFileType PassportElementErrorTranslationFilesType PassportElementErrorUnspecifiedType PollType PublicChatKind Recipient A unique identifier for the target chat or username of the target channel
(in the format @channelusername
). ReplyMarkup ResponseParameters Contains information about why a request was unsuccessful. StickerFormat Format of a Sticker
- regular/webp, animated/tgs or video/webm. StickerKind Kind of a Sticker
- regular, mask or custom emoji. StickerType Type of a Sticker
- regular, mask or custom emoji. TargetMessage A message in chat or inline message. UntilDate A range of time, before some date (for example a time before a restrictions
will be lifted from a member of a chat). UpdateKind listen_to_update Create a listener for Telegram bot represented by token
update_handler