tgbot-cpp
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
 NTgBot
 CAcceptedGiftTypesThis object describes the types of gifts that can be gifted to a user or a chat
 CAffiliateInfoContains information about the affiliate that received a commission via this transaction
 CAnimationThis object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound)
 CApiExecutes methods from the Telegram Bot API
 CAudioThis object represents an audio file to be treated as music by the Telegram clients
 CBackgroundFillThis object describes the way a background is filled based on the selected colors. Currently, it can be one of BackgroundFillSolid BackgroundFillGradient BackgroundFillFreeformGradient
 CBackgroundFillFreeformGradientThe background is a freeform gradient that rotates after every message in the chat
 CBackgroundFillGradientThe background is a gradient fill
 CBackgroundFillSolidThe background is filled using the selected color
 CBackgroundTypeThis object describes the type of a background. Currently, it can be one of BackgroundTypeFill BackgroundTypeWallpaper BackgroundTypePattern BackgroundTypeChatTheme
 CBackgroundTypeChatThemeThe background is taken directly from a built-in chat theme
 CBackgroundTypeFillThe background is automatically filled based on the selected colors
 CBackgroundTypePatternThe background is a .PNG or .TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user
 CBackgroundTypeWallpaperThe background is a wallpaper in the JPEG format
 CBirthdateDescribes the birthdate of a user
 CBotThis object holds other objects specific for this bot instance
 CBotAccessSettingsThis object describes the access settings of a bot
 CBotCommandThis object represents a bot command
 CBotCommandScopeThis object represents the scope to which bot commands are applied. Currently, the following 7 scopes are supported: BotCommandScopeDefault BotCommandScopeAllPrivateChats BotCommandScopeAllGroupChats BotCommandScopeAllChatAdministrators BotCommandScopeChat BotCommandScopeChatAdministrators BotCommandScopeChatMember
 CBotCommandScopeAllChatAdministratorsRepresents the scope of bot commands, covering all group and supergroup chat administrators
 CBotCommandScopeAllGroupChatsRepresents the scope of bot commands, covering all group and supergroup chats
 CBotCommandScopeAllPrivateChatsRepresents the scope of bot commands, covering all private chats
 CBotCommandScopeChatRepresents the scope of bot commands, covering a specific chat
 CBotCommandScopeChatAdministratorsRepresents the scope of bot commands, covering all administrators of a specific group or supergroup chat
 CBotCommandScopeChatMemberRepresents the scope of bot commands, covering a specific member of a group or supergroup chat
 CBotCommandScopeDefaultRepresents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user
 CBotDescriptionThis object represents the bot's description
 CBotNameThis object represents the bot's name
 CBotShortDescriptionThis object represents the bot's short description
 CBotSubscriptionUpdatedThis object contains information about changes to a user payment subscription toward the current bot
 CBusinessBotRightsRepresents the rights of a business bot
 CBusinessConnectionDescribes the connection of the bot with a business account
 CBusinessIntroContains information about the start page settings of a Telegram Business account
 CBusinessLocationContains information about the location of a Telegram Business account
 CBusinessMessagesDeletedThis object is received when messages are deleted from a connected business account
 CBusinessOpeningHoursDescribes the opening hours of a business
 CBusinessOpeningHoursIntervalDescribes an interval of time during which a business is open
 CCallbackGameA placeholder, currently holds no information. Use BotFather to set up your game
 CCallbackQueryThis object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present
 CChatThis object represents a chat
 CChatAdministratorRightsRepresents the rights of an administrator in a chat
 CChatBackgroundThis object represents a chat background
 CChatBoostThis object contains information about a chat boost
 CChatBoostAddedThis object represents a service message about a user boosting a chat
 CChatBoostRemovedThis object represents a boost removed from a chat
 CChatBoostSourceThis object describes the source of a chat boost. It can be one of ChatBoostSourcePremium ChatBoostSourceGiftCode ChatBoostSourceGiveaway
 CChatBoostSourceGiftCodeThe boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription
 CChatBoostSourceGiveawayThe boost was obtained by the creation of a Telegram Premium or a Telegram Star giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription for Telegram Premium giveaways and prize_star_count / 500 times for one year for Telegram Star giveaways
 CChatBoostSourcePremiumThe boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user
 CChatBoostUpdatedThis object represents a boost added to a chat or changed
 CChatFullInfoThis object contains full information about a chat
 CChatInviteLinkRepresents an invite link for a chat
 CChatJoinRequestRepresents a join request sent to a chat
 CChatLocationRepresents a location to which a chat is connected
 CChatMemberThis object contains information about one member of a chat. Currently, the following 6 types of chat members are supported: ChatMemberOwner ChatMemberAdministrator ChatMemberMember ChatMemberRestricted ChatMemberLeft ChatMemberBanned
 CChatMemberAdministratorRepresents a chat member that has some additional privileges
 CChatMemberBannedRepresents a chat member that was banned in the chat and can't return to the chat or view chat messages
 CChatMemberLeftRepresents a chat member that isn't currently a member of the chat, but may join it themselves
 CChatMemberMemberRepresents a chat member that has no additional privileges or restrictions
 CChatMemberOwnerRepresents a chat member that owns the chat and has all administrator privileges
 CChatMemberRestrictedRepresents a chat member that is under certain restrictions in the chat. Supergroups only
 CChatMemberUpdatedThis object represents changes in the status of a chat member
 CChatOwnerChangedDescribes a service message about an ownership change in the chat
 CChatOwnerLeftDescribes a service message about the chat owner leaving the chat
 CChatPermissionsDescribes actions that a non-administrator user is allowed to take in a chat
 CChatPhotoThis object represents a chat photo
 CChatSharedThis object contains information about a chat that was shared with the bot using a KeyboardButtonRequestChat button
 CChecklistDescribes a checklist
 CChecklistTaskDescribes a task in a checklist
 CChecklistTasksAddedDescribes a service message about tasks added to a checklist
 CChecklistTasksDoneDescribes a service message about checklist tasks marked as done or not done
 CChosenInlineResultRepresents a result of an inline query that was chosen by the user and sent to their chat partner
 CCommunityRepresents a community (a group of chats)
 CCommunityChatAddedDescribes a service message about a chat being added to a community
 CCommunityChatRemovedDescribes a service message about a chat being removed from a community. Currently holds no information
 CContactThis object represents a phone contact
 CCopyTextButtonThis object represents an inline keyboard button that copies specified text to the clipboard
 CCurlHttpClientThis class makes http requests via libcurl
 CDiceThis object represents an animated emoji that displays a random value
 CDirectMessagePriceChangedDescribes a service message about a change in the price of direct messages sent to a channel chat
 CDirectMessagesTopicDescribes a topic of a direct messages chat
 CDocumentThis object represents a general file (as opposed to photos, voice messages and audio files)
 CEncryptedCredentialsDescribes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes
 CEncryptedPassportElementDescribes documents or other Telegram Passport elements shared with the bot by the user
 CEventBroadcasterThis class holds all event listeners
 CEventHandler
 CExternalReplyInfoThis object contains information about a message that is being replied to, which may come from another chat or forum topic
 CFileThis object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile
 CForceReplyUpon 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'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. Not supported in channels and for messages sent on behalf of a user account
 CForumTopicThis object represents a forum topic
 CForumTopicClosedThis object represents a service message about a forum topic closed in the chat. Currently holds no information
 CForumTopicCreatedThis object represents a service message about a new forum topic created in the chat
 CForumTopicEditedThis object represents a service message about an edited forum topic
 CForumTopicReopenedThis object represents a service message about a forum topic reopened in the chat. Currently holds no information
 CGameThis object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers
 CGameHighScoreThis object represents one row of the high scores table for a game
 CGeneralForumTopicHiddenThis object represents a service message about General forum topic hidden in the chat. Currently holds no information
 CGeneralForumTopicUnhiddenThis object represents a service message about General forum topic unhidden in the chat. Currently holds no information
 CGiftThis object represents a gift that can be sent by the bot
 CGiftBackgroundThis object describes the background of a gift
 CGiftInfoDescribes a service message about a regular gift that was sent or received
 CGiftsThis object represent a list of gifts
 CGiveawayThis object represents a message about a scheduled giveaway
 CGiveawayCompletedThis object represents a service message about the completion of a giveaway without public winners
 CGiveawayCreatedThis object represents a service message about the creation of a scheduled giveaway
 CGiveawayWinnersThis object represents a message about the completion of a giveaway with public winners
 CHttpClientThis class makes http requests
 CHttpFile
 CHttpFormField
 CHttpServerThis class handles HTTP requests from the Internet
 CInaccessibleMessageThis object describes a message that was deleted or is otherwise inaccessible to the bot
 CInlineKeyboardButtonThis object represents one button of an inline keyboard. Exactly one of the fields other than text, icon_custom_emoji_id, and style must be used to specify the type of the button
 CInlineKeyboardMarkupThis object represents an inline keyboard that appears right next to the message it belongs to
 CInlineQueryThis object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results
 CInlineQueryResultThis object represents one result of an inline query. Telegram clients currently support results of the following 20 types: InlineQueryResultCachedAudio InlineQueryResultCachedDocument InlineQueryResultCachedGif InlineQueryResultCachedMpeg4Gif InlineQueryResultCachedPhoto InlineQueryResultCachedSticker InlineQueryResultCachedVideo InlineQueryResultCachedVoice InlineQueryResultArticle InlineQueryResultAudio InlineQueryResultContact InlineQueryResultGame InlineQueryResultDocument InlineQueryResultGif InlineQueryResultLocation InlineQueryResultMpeg4Gif InlineQueryResultPhoto InlineQueryResultVenue InlineQueryResultVideo InlineQueryResultVoice Note: All URLs passed in inline query results will be available to end users and therefore must be assumed to be public
 CInlineQueryResultArticleRepresents a link to an article or web page
 CInlineQueryResultAudioRepresents a link to an MP3 audio file. By default, this audio file will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the audio
 CInlineQueryResultCachedAudioRepresents a link to an MP3 audio file stored on the Telegram servers. By default, this audio file will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the audio
 CInlineQueryResultCachedDocumentRepresents a link to a file stored on the Telegram servers. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file
 CInlineQueryResultCachedGifRepresents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with specified content instead of the animation
 CInlineQueryResultCachedMpeg4GifRepresents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers. By default, this animated MPEG-4 file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation
 CInlineQueryResultCachedPhotoRepresents a link to a photo stored on the Telegram servers. By default, this photo will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo
 CInlineQueryResultCachedStickerRepresents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the sticker
 CInlineQueryResultCachedVideoRepresents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video
 CInlineQueryResultCachedVoiceRepresents a link to a voice message stored on the Telegram servers. By default, this voice message will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the voice message
 CInlineQueryResultContactRepresents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact
 CInlineQueryResultDocumentRepresents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file. Currently, only .PDF and .ZIP files can be sent using this method
 CInlineQueryResultGameRepresents a Game
 CInlineQueryResultGifRepresents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation
 CInlineQueryResultLocationRepresents a location on a map. By default, the location will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the location
 CInlineQueryResultMpeg4GifRepresents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation
 CInlineQueryResultPhotoRepresents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo
 CInlineQueryResultsButtonThis object represents a button to be shown above inline query results. You must use exactly one of the optional fields
 CInlineQueryResultVenueRepresents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue
 CInlineQueryResultVideoRepresents a link to a page containing an embedded video player or a video file. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video
 CInlineQueryResultVoiceRepresents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the the voice message
 CInputChecklistDescribes a checklist to create
 CInputChecklistTaskDescribes a task to add to a checklist
 CInputContactMessageContentRepresents the content of a contact message to be sent as the result of an inline query
 CInputFileThis object represents the contents of a file to be uploaded
 CInputInvoiceMessageContentRepresents the content of an invoice message to be sent as the result of an inline query
 CInputLocationMessageContentRepresents the content of a location message to be sent as the result of an inline query
 CInputMediaThis object represents the content of a media message to be sent. It should be one of InputMediaAnimation InputMediaAudio InputMediaDocument InputMediaLivePhoto InputMediaPhoto InputMediaVideo
 CInputMediaAnimationRepresents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent
 CInputMediaAudioRepresents an audio file to be treated as music to be sent
 CInputMediaDocumentRepresents a general file to be sent
 CInputMediaLinkRepresents an HTTP link to be sent
 CInputMediaLivePhotoRepresents a live photo to be sent
 CInputMediaLocationRepresents a location to be sent
 CInputMediaPhotoRepresents a photo to be sent
 CInputMediaStickerRepresents a sticker file to be sent
 CInputMediaVenueRepresents a venue to be sent
 CInputMediaVideoRepresents a video to be sent
 CInputMediaVoiceNoteRepresents a voice message file to be sent
 CInputMessageContentThis object represents the content of a message to be sent as a result of an inline query. Telegram clients currently support the following types: InputTextMessageContent InputRichMessageContent InputLocationMessageContent InputVenueMessageContent InputContactMessageContent InputInvoiceMessageContent
 CInputPaidMediaThis object describes the paid media to be sent. Currently, it can be one of InputPaidMediaLivePhoto InputPaidMediaPhoto InputPaidMediaVideo
 CInputPaidMediaLivePhotoThe paid media to send is a live photo
 CInputPaidMediaPhotoThe paid media to send is a photo
 CInputPaidMediaVideoThe paid media to send is a video
 CInputPollMediaThis object represents the content of a poll description or a quiz explanation to be sent. It should be one of InputMediaAnimation InputMediaAudio InputMediaDocument InputMediaLivePhoto InputMediaLocation InputMediaPhoto InputMediaVenue InputMediaVideo
 CInputPollOptionThis object contains information about one answer option in a poll to be sent
 CInputPollOptionMediaThis object represents the content of a poll option to be sent. It should be one of InputMediaAnimation InputMediaLink InputMediaLivePhoto InputMediaLocation InputMediaPhoto InputMediaSticker InputMediaVenue InputMediaVideo
 CInputProfilePhotoThis object describes a profile photo to set. Currently, it can be one of InputProfilePhotoStatic InputProfilePhotoAnimated
 CInputProfilePhotoAnimatedAn animated profile photo in the MPEG4 format
 CInputProfilePhotoStaticA static profile photo in the .JPG format
 CInputRichBlockThis object represents a block in a rich formatted message to be sent. Currently, it can be any of the following types: InputRichBlockParagraph InputRichBlockSectionHeading InputRichBlockPreformatted InputRichBlockFooter InputRichBlockDivider InputRichBlockMathematicalExpression InputRichBlockAnchor InputRichBlockList InputRichBlockBlockQuotation InputRichBlockPullQuotation InputRichBlockCollage InputRichBlockSlideshow InputRichBlockTable InputRichBlockDetails InputRichBlockMap InputRichBlockAnimation InputRichBlockAudio InputRichBlockPhoto InputRichBlockVideo InputRichBlockVoiceNote InputRichBlockThinking
 CInputRichBlockAnchorA block with an anchor, corresponding to the HTML tag with the attribute name
 CInputRichBlockAnimationA block with an animation, corresponding to the HTML tag <video>
 CInputRichBlockAudioA block with a music file, corresponding to the HTML tag <audio>
 CInputRichBlockBlockQuotationA block quotation, corresponding to the HTML tag
 CInputRichBlockCollageA collage, corresponding to the custom HTML tag <tg-collage>
 CInputRichBlockDetailsAn expandable block for details disclosure, corresponding to the HTML tag
 CInputRichBlockDividerA divider, corresponding to the HTML tag


 CInputRichBlockFooterA footer, corresponding to the HTML tag <footer>
 CInputRichBlockListA list of blocks, corresponding to the HTML tag
 CInputRichBlockListItemAn item of a list to be sent
 CInputRichBlockMapA block with a map, corresponding to the custom HTML tag <tg-map>. The map's width and height must not exceed 10000 in total. The width and height ratio must be at most 20
 CInputRichBlockMathematicalExpressionA block with a mathematical expression in LaTeX format, corresponding to the custom HTML tag <tg-math-block>
 CInputRichBlockParagraphA text paragraph, corresponding to the HTML tag
 CInputRichBlockPhotoA block with a photo, corresponding to the HTML tag
 CInputRichBlockPreformattedA preformatted text block, corresponding to the nested HTML tags
 CInputRichBlockPullQuotationA quotation with centered text, loosely corresponding to the HTML tag <aside>
 CInputRichBlockSectionHeadingA section heading, corresponding to the HTML tags
 CInputRichBlockSlideshowA slideshow, corresponding to the custom HTML tag <tg-slideshow>
 CInputRichBlockTableA table, corresponding to the HTML tag
 CInputRichBlockThinkingA block with a “Thinking…” placeholder, corresponding to the custom HTML tag <tg-thinking>. The block may be used only in sendRichMessageDraft, therefore it can't be received in messages. See https://t.me/addemoji/AIActions for examples of custom emoji that are recommended for usage in the block
 CInputRichBlockVideoA block with a video, corresponding to the HTML tag <video>
 CInputRichBlockVoiceNoteA block with a voice note, corresponding to the HTML tag <audio>
 CInputRichMessageDescribes a rich message to be sent. Exactly one of the fields html, markdown, or blocks must be used
 CInputRichMessageContentRepresents the content of a rich message to be sent as the result of an inline query
 CInputRichMessageMediaDescribes a media element embedded in an outgoing rich message
 CInputStickerThis object describes a sticker to be added to a sticker set
 CInputStoryContentThis object describes the content of a story to post. Currently, it can be one of InputStoryContentPhoto InputStoryContentVideo
 CInputStoryContentPhotoDescribes a photo to post as a story
 CInputStoryContentVideoDescribes a video to post as a story
 CInputTextMessageContentRepresents the content of a text message to be sent as the result of an inline query
 CInputVenueMessageContentRepresents the content of a venue message to be sent as the result of an inline query
 CInvoiceThis object contains basic information about an invoice
 CKeyboardButtonThis object represents one button of the reply keyboard. At most one of the fields other than text, icon_custom_emoji_id, and style must be used to specify the type of the button. For simple text buttons, String can be used instead of this object to specify the button text
 CKeyboardButtonPollTypeThis object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed
 CKeyboardButtonRequestChatThis object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted requested rights in the chat if appropriate. More about requesting chats »
 CKeyboardButtonRequestManagedBotThis object defines the parameters for the creation of a managed bot. Information about the created bot will be shared with the bot using the update managed_bot and a Message with the field managed_bot_created
 CKeyboardButtonRequestUsersThis object defines the criteria used to request suitable users. Information about the selected users will be shared with the bot when the corresponding button is pressed. More about requesting users »
 CLabeledPriceThis object represents a portion of the price for goods or services
 CLinkRepresents an HTTP link
 CLinkPreviewOptionsDescribes the options used for link preview generation
 CLivePhotoThis object represents a live photo
 CLocationThis object represents a point on the map
 CLocationAddressDescribes the physical address of a location
 CLoginUrlThis object represents a parameter of the inline keyboard button used to automatically authorize a user. Serves as a great replacement for the Telegram Login Widget when the user is coming from Telegram. All the user needs to do is tap/click a button and confirm that they want to log in: Telegram apps support these buttons as of version 5.7
 CManagedBotCreatedThis object contains information about the bot that was created to be managed by the current bot
 CManagedBotUpdatedThis object contains information about the creation, token update, or owner update of a bot that is managed by the current bot
 CMaskPositionThis object describes the position on faces where a mask should be placed by default
 CMaybeInaccessibleMessageThis object describes a message that can be inaccessible to the bot. It can be one of Message InaccessibleMessage
 CMenuButtonThis object describes the bot's menu button in a private chat. It should be one of MenuButtonCommands MenuButtonWebApp MenuButtonDefault If a menu button other than MenuButtonDefault is set for a private chat, then it is applied in the chat. Otherwise the default menu button is applied. By default, the menu button opens the list of bot commands
 CMenuButtonCommandsRepresents a menu button, which opens the bot's list of commands
 CMenuButtonDefaultDescribes that no specific value for the menu button was set
 CMenuButtonWebAppRepresents a menu button, which launches a Web App
 CMessageThis object represents a message
 CMessageAutoDeleteTimerChangedThis object represents a service message about a change in auto-delete timer settings
 CMessageEntityThis object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc
 CMessageIdThis object represents a unique message identifier
 CMessageOriginThis object describes the origin of a message. It can be one of MessageOriginUser MessageOriginHiddenUser MessageOriginChat MessageOriginChannel
 CMessageOriginChannelThe message was originally sent to a channel chat
 CMessageOriginChatThe message was originally sent on behalf of a chat to a group chat
 CMessageOriginHiddenUserThe message was originally sent by an unknown user
 CMessageOriginUserThe message was originally sent by a known user
 CMessageReactionCountUpdatedThis object represents reaction changes on a message with anonymous reactions
 CMessageReactionUpdatedThis object represents a change of a reaction on a message performed by a user
 COrderInfoThis object represents information about an order
 COwnedGiftThis object describes a gift received and owned by a user or a chat. Currently, it can be one of OwnedGiftRegular OwnedGiftUnique
 COwnedGiftRegularDescribes a regular gift owned by a user or a chat
 COwnedGiftsContains the list of gifts received and owned by a user or a chat
 COwnedGiftUniqueDescribes a unique gift received and owned by a user or a chat
 CPaidMediaThis object describes paid media. Currently, it can be one of PaidMediaLivePhoto PaidMediaPhoto PaidMediaPreview PaidMediaVideo
 CPaidMediaInfoDescribes the paid media added to a message
 CPaidMediaLivePhotoThe paid media is a live photo
 CPaidMediaPhotoThe paid media is a photo
 CPaidMediaPreviewThe paid media isn't available before the payment
 CPaidMediaPurchasedThis object contains information about a paid media purchase
 CPaidMediaVideoThe paid media is a video
 CPaidMessagePriceChangedDescribes a service message about a change in the price of paid messages within a chat
 CPassportDataDescribes Telegram Passport data shared with the bot by the user
 CPassportElementErrorThis object represents an error in the Telegram Passport element which was submitted that should be resolved by the user. It should be one of: PassportElementErrorDataField PassportElementErrorFrontSide PassportElementErrorReverseSide PassportElementErrorSelfie PassportElementErrorFile PassportElementErrorFiles PassportElementErrorTranslationFile PassportElementErrorTranslationFiles PassportElementErrorUnspecified
 CPassportElementErrorDataFieldRepresents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes
 CPassportElementErrorFileRepresents an issue with a document scan. The error is considered resolved when the file with the document scan changes
 CPassportElementErrorFilesRepresents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes
 CPassportElementErrorFrontSideRepresents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes
 CPassportElementErrorReverseSideRepresents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes
 CPassportElementErrorSelfieRepresents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes
 CPassportElementErrorTranslationFileRepresents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes
 CPassportElementErrorTranslationFilesRepresents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change
 CPassportElementErrorUnspecifiedRepresents an issue in an unspecified place. The error is considered resolved when new data is added
 CPassportFileThis object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB
 CPhotoSizeThis object represents one size of a photo or a file / sticker thumbnail
 CPollThis object contains information about a poll
 CPollAnswerThis object represents an answer of a user in a non-anonymous poll
 CPollMediaAt most one of the optional fields can be present in any given object
 CPollOptionThis object contains information about one answer option in a poll
 CPollOptionAddedDescribes a service message about an option added to a poll
 CPollOptionDeletedDescribes a service message about an option deleted from a poll
 CPreCheckoutQueryThis object contains information about an incoming pre-checkout query
 CPreparedInlineMessageDescribes an inline message to be sent by a user of a Mini App
 CPreparedKeyboardButtonDescribes a keyboard button to be used by a user of a Mini App
 CProximityAlertTriggeredThis object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user
 CReactionCountRepresents a reaction added to a message along with the number of times it was added
 CReactionTypeThis object describes the type of a reaction. Currently, it can be one of ReactionTypeEmoji ReactionTypeCustomEmoji ReactionTypePaid
 CReactionTypeCustomEmojiThe reaction is based on a custom emoji
 CReactionTypeEmojiThe reaction is based on an emoji
 CReactionTypePaidThe reaction is paid
 CRefundedPaymentThis object contains basic information about a refunded payment
 CReplyKeyboardMarkupThis object represents a custom keyboard with reply options (see Introduction to bots for details and examples). Not supported in channels and for messages sent on behalf of a business account
 CReplyKeyboardRemoveUpon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup). Not supported in channels and for messages sent on behalf of a business account
 CReplyParametersDescribes reply parameters for the message that is being sent
 CResponseParametersDescribes why a request was unsuccessful
 CRevenueWithdrawalStateThis object describes the state of a revenue withdrawal operation. Currently, it can be one of RevenueWithdrawalStatePending RevenueWithdrawalStateSucceeded RevenueWithdrawalStateFailed
 CRevenueWithdrawalStateFailedThe withdrawal failed and the transaction was refunded
 CRevenueWithdrawalStatePendingThe withdrawal is in progress
 CRevenueWithdrawalStateSucceededThe withdrawal succeeded
 CRichBlockThis object represents a block in a rich formatted message. Currently, it can be any of the following types: RichBlockParagraph RichBlockSectionHeading RichBlockPreformatted RichBlockFooter RichBlockDivider RichBlockMathematicalExpression RichBlockAnchor RichBlockList RichBlockBlockQuotation RichBlockPullQuotation RichBlockCollage RichBlockSlideshow RichBlockTable RichBlockDetails RichBlockMap RichBlockAnimation RichBlockAudio RichBlockPhoto RichBlockVideo RichBlockVoiceNote RichBlockThinking
 CRichBlockAnchorA block with an anchor, corresponding to the HTML tag with the attribute name
 CRichBlockAnimationA block with an animation, corresponding to the HTML tag <video>
 CRichBlockAudioA block with a music file, corresponding to the HTML tag <audio>
 CRichBlockBlockQuotationA block quotation, corresponding to the HTML tag
 CRichBlockCaptionCaption of a rich formatted block
 CRichBlockCollageA collage, corresponding to the custom HTML tag <tg-collage>
 CRichBlockDetailsAn expandable block for details disclosure, corresponding to the HTML tag
 CRichBlockDividerA divider, corresponding to the HTML tag


 CRichBlockFooterA footer, corresponding to the HTML tag <footer>
 CRichBlockListA list of blocks, corresponding to the HTML tag
 CRichBlockListItemAn item of a list
 CRichBlockMapA block with a map, corresponding to the custom HTML tag <tg-map>
 CRichBlockMathematicalExpressionA block with a mathematical expression in LaTeX format, corresponding to the custom HTML tag <tg-math-block>
 CRichBlockParagraphA text paragraph, corresponding to the HTML tag
 CRichBlockPhotoA block with a photo, corresponding to the HTML tag
 CRichBlockPreformattedA preformatted text block, corresponding to the nested HTML tags
 CRichBlockPullQuotationA quotation with centered text, loosely corresponding to the HTML tag <aside>
 CRichBlockSectionHeadingA section heading, corresponding to the HTML tags
 CRichBlockSlideshowA slideshow, corresponding to the custom HTML tag <tg-slideshow>
 CRichBlockTableA table, corresponding to the HTML tag
 CRichBlockTableCellCell in a table
 CRichBlockThinkingA block with a “Thinking…” placeholder, corresponding to the custom HTML tag <tg-thinking>. The block may be used only in sendRichMessageDraft, therefore it can't be received in messages. See https://t.me/addemoji/AIActions for examples of custom emoji that are recommended for usage in the block
 CRichBlockVideoA block with a video, corresponding to the HTML tag <video>
 CRichBlockVoiceNoteA block with a voice note, corresponding to the HTML tag <audio>
 CRichMessageRich formatted message
 CRichTextThis object represents a rich formatted text. Currently, it can be either a String for plain text, an Array of RichText, or any of the following types: RichTextBold RichTextItalic RichTextUnderline RichTextStrikethrough RichTextSpoiler RichTextDateTime RichTextTextMention RichTextSubscript RichTextSuperscript RichTextMarked RichTextCode RichTextCustomEmoji RichTextMathematicalExpression RichTextUrl RichTextEmailAddress RichTextPhoneNumber RichTextBankCardNumber RichTextMention RichTextHashtag RichTextCashtag RichTextBotCommand RichTextAnchor RichTextAnchorLink RichTextReference RichTextReferenceLink
 CRichTextAnchorAn anchor
 CRichTextAnchorLinkA link to an anchor
 CRichTextBankCardNumberA text with a bank card number
 CRichTextBoldA bold text
 CRichTextBotCommandA bot command
 CRichTextCashtagA cashtag
 CRichTextCodeA monowidth text
 CRichTextCustomEmojiA custom emoji
 CRichTextDateTimeFormatted date and time
 CRichTextEmailAddressA text with an email address
 CRichTextHashtagA hashtag
 CRichTextItalicAn italicized text
 CRichTextMarkedA marked text
 CRichTextMathematicalExpressionA mathematical expression
 CRichTextMentionA mention by a username
 CRichTextPhoneNumberA text with a phone number
 CRichTextReferenceA reference
 CRichTextReferenceLinkA link to a reference
 CRichTextSpoilerA text covered by a spoiler
 CRichTextStrikethroughA strikethrough text
 CRichTextSubscriptA subscript text
 CRichTextSuperscriptA superscript text
 CRichTextTextMentionA mention of a Telegram user by their identifier
 CRichTextUnderlineAn underlined text
 CRichTextUrlA text with a link
 CSentGuestMessageDescribes an inline message sent by a guest bot
 CSentWebAppMessageDescribes an inline message sent by a Web App on behalf of a user
 CSharedUserThis object contains information about a user that was shared with the bot using a KeyboardButtonRequestUsers button
 CShippingAddressThis object represents a shipping address
 CShippingOptionThis object represents one shipping option
 CShippingQueryThis object contains information about an incoming shipping query
 CStarAmountDescribes an amount of Telegram Stars
 CStarTransactionDescribes a Telegram Star transaction. Note that if the buyer initiates a chargeback with the payment provider from whom they acquired Stars (e.g., Apple, Google) following this transaction, the refunded Stars will be deducted from the bot's balance. This is outside of Telegram's control
 CStarTransactionsContains a list of Telegram Star transactions
 CStickerThis object represents a sticker
 CStickerSetThis object represents a sticker set
 CStoryThis object represents a story
 CStoryAreaDescribes a clickable area on a story media
 CStoryAreaPositionDescribes the position of a clickable area within a story
 CStoryAreaTypeDescribes the type of a clickable area on a story. Currently, it can be one of StoryAreaTypeLocation StoryAreaTypeSuggestedReaction StoryAreaTypeLink StoryAreaTypeWeather StoryAreaTypeUniqueGift
 CStoryAreaTypeLinkDescribes a story area pointing to an HTTP or tg:// link. Currently, a story can have up to 3 link areas
 CStoryAreaTypeLocationDescribes a story area pointing to a location. Currently, a story can have up to 10 location areas
 CStoryAreaTypeSuggestedReactionDescribes a story area pointing to a suggested reaction. Currently, a story can have up to 5 suggested reaction areas
 CStoryAreaTypeUniqueGiftDescribes a story area pointing to a unique gift. Currently, a story can have at most 1 unique gift area
 CStoryAreaTypeWeatherDescribes a story area containing weather information. Currently, a story can have up to 3 weather areas
 CSuccessfulPaymentThis object contains basic information about a successful payment. Note that if the buyer initiates a chargeback with the relevant payment provider following this transaction, the funds may be debited from your balance. This is outside of Telegram's control
 CSuggestedPostApprovalFailedDescribes a service message about the failed approval of a suggested post. Currently, only caused by insufficient user funds at the time of approval
 CSuggestedPostApprovedDescribes a service message about the approval of a suggested post
 CSuggestedPostDeclinedDescribes a service message about the rejection of a suggested post
 CSuggestedPostInfoContains information about a suggested post
 CSuggestedPostPaidDescribes a service message about a successful payment for a suggested post
 CSuggestedPostParametersContains parameters of a post that is being suggested by the bot
 CSuggestedPostPriceDescribes the price of a suggested post
 CSuggestedPostRefundedDescribes a service message about a payment refund for a suggested post
 CSwitchInlineQueryChosenChatThis object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query
 CTextQuoteThis object contains information about the quoted part of a message that is replied to by the given message
 CTgExceptionException type which is only thrown when Telegram refuses API request
 CTgLongPollThis class handles long polling and updates parsing
 CTgWebhookServer
 CTgWebhookTcpServer
 CTransactionPartnerThis object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of TransactionPartnerUser TransactionPartnerChat TransactionPartnerAffiliateProgram TransactionPartnerFragment TransactionPartnerTelegramAds TransactionPartnerTelegramApi TransactionPartnerOther
 CTransactionPartnerAffiliateProgramDescribes the affiliate program that issued the affiliate commission received via this transaction
 CTransactionPartnerChatDescribes a transaction with a chat
 CTransactionPartnerFragmentDescribes a withdrawal transaction with Fragment
 CTransactionPartnerOtherDescribes a transaction with an unknown source or recipient
 CTransactionPartnerTelegramAdsDescribes a withdrawal transaction to the Telegram Ads platform
 CTransactionPartnerTelegramApiDescribes a transaction with payment for paid broadcasting
 CTransactionPartnerUserDescribes a transaction with a user
 CUniqueGiftThis object describes a unique gift that was upgraded from a regular gift
 CUniqueGiftBackdropThis object describes the backdrop of a unique gift
 CUniqueGiftBackdropColorsThis object describes the colors of the backdrop of a unique gift
 CUniqueGiftColorsThis object contains information about the color scheme for a user's name, message replies and link previews based on a unique gift
 CUniqueGiftInfoDescribes a service message about a unique gift that was sent or received
 CUniqueGiftModelThis object describes the model of a unique gift
 CUniqueGiftSymbolThis object describes the symbol shown on the pattern of a unique gift
 CUpdateThis object represents an incoming update.At most one of the optional fields can be present in any given update
 CUserThis object represents a Telegram user or bot
 CUserChatBoostsThis object represents a list of boosts added to a chat by a user
 CUserProfileAudiosThis object represents the audios displayed on a user's profile
 CUserProfilePhotosThis object represent a user's profile pictures
 CUserRatingThis object describes the rating of a user based on their Telegram Star spendings
 CUsersSharedThis object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button
 CVenueThis object represents a venue
 CVideoThis object represents a video file
 CVideoChatEndedThis object represents a service message about a video chat ended in the chat
 CVideoChatParticipantsInvitedThis object represents a service message about new members invited to a video chat
 CVideoChatScheduledThis object represents a service message about a video chat scheduled in the chat
 CVideoChatStartedThis object represents a service message about a video chat started in the chat. Currently holds no information
 CVideoNoteThis object represents a video message (available in Telegram apps as of v.4.0)
 CVideoQualityThis object represents a video file of a specific quality
 CVoiceThis object represents a voice note
 CWebAppDataDescribes data sent from a Web App to the bot
 CWebAppInfoDescribes a Web App
 CWebhookInfoDescribes the current status of a webhook
 CWriteAccessAllowedThis object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess