tgbot-cpp
Loading...
Searching...
No Matches
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
 CTgBot::AcceptedGiftTypesThis object describes the types of gifts that can be gifted to a user or a chat
 CTgBot::AffiliateInfoContains information about the affiliate that received a commission via this transaction
 CTgBot::AnimationThis object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound)
 CTgBot::ApiExecutes methods from the Telegram Bot API
 CTgBot::AudioThis object represents an audio file to be treated as music by the Telegram clients
 CTgBot::BackgroundFillThis object describes the way a background is filled based on the selected colors. Currently, it can be one of BackgroundFillSolid BackgroundFillGradient BackgroundFillFreeformGradient
 CTgBot::BackgroundFillFreeformGradientThe background is a freeform gradient that rotates after every message in the chat
 CTgBot::BackgroundFillGradientThe background is a gradient fill
 CTgBot::BackgroundFillSolidThe background is filled using the selected color
 CTgBot::BackgroundTypeThis object describes the type of a background. Currently, it can be one of BackgroundTypeFill BackgroundTypeWallpaper BackgroundTypePattern BackgroundTypeChatTheme
 CTgBot::BackgroundTypeChatThemeThe background is taken directly from a built-in chat theme
 CTgBot::BackgroundTypeFillThe background is automatically filled based on the selected colors
 CTgBot::BackgroundTypePatternThe 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
 CTgBot::BackgroundTypeWallpaperThe background is a wallpaper in the JPEG format
 CTgBot::BirthdateDescribes the birthdate of a user
 CTgBot::BotThis object holds other objects specific for this bot instance
 CTgBot::BotAccessSettingsThis object describes the access settings of a bot
 CTgBot::BotCommandThis object represents a bot command
 CTgBot::BotCommandScopeThis object represents the scope to which bot commands are applied. Currently, the following 7 scopes are supported: BotCommandScopeDefault BotCommandScopeAllPrivateChats BotCommandScopeAllGroupChats BotCommandScopeAllChatAdministrators BotCommandScopeChat BotCommandScopeChatAdministrators BotCommandScopeChatMember
 CTgBot::BotCommandScopeAllChatAdministratorsRepresents the scope of bot commands, covering all group and supergroup chat administrators
 CTgBot::BotCommandScopeAllGroupChatsRepresents the scope of bot commands, covering all group and supergroup chats
 CTgBot::BotCommandScopeAllPrivateChatsRepresents the scope of bot commands, covering all private chats
 CTgBot::BotCommandScopeChatRepresents the scope of bot commands, covering a specific chat
 CTgBot::BotCommandScopeChatAdministratorsRepresents the scope of bot commands, covering all administrators of a specific group or supergroup chat
 CTgBot::BotCommandScopeChatMemberRepresents the scope of bot commands, covering a specific member of a group or supergroup chat
 CTgBot::BotCommandScopeDefaultRepresents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user
 CTgBot::BotDescriptionThis object represents the bot's description
 CTgBot::BotNameThis object represents the bot's name
 CTgBot::BotShortDescriptionThis object represents the bot's short description
 CTgBot::BotSubscriptionUpdatedThis object contains information about changes to a user payment subscription toward the current bot
 CTgBot::BusinessBotRightsRepresents the rights of a business bot
 CTgBot::BusinessConnectionDescribes the connection of the bot with a business account
 CTgBot::BusinessIntroContains information about the start page settings of a Telegram Business account
 CTgBot::BusinessLocationContains information about the location of a Telegram Business account
 CTgBot::BusinessMessagesDeletedThis object is received when messages are deleted from a connected business account
 CTgBot::BusinessOpeningHoursDescribes the opening hours of a business
 CTgBot::BusinessOpeningHoursIntervalDescribes an interval of time during which a business is open
 CTgBot::CallbackGameA placeholder, currently holds no information. Use BotFather to set up your game
 CTgBot::CallbackQueryThis 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
 CTgBot::ChatThis object represents a chat
 CTgBot::ChatAdministratorRightsRepresents the rights of an administrator in a chat
 CTgBot::ChatBackgroundThis object represents a chat background
 CTgBot::ChatBoostThis object contains information about a chat boost
 CTgBot::ChatBoostAddedThis object represents a service message about a user boosting a chat
 CTgBot::ChatBoostRemovedThis object represents a boost removed from a chat
 CTgBot::ChatBoostSourceThis object describes the source of a chat boost. It can be one of ChatBoostSourcePremium ChatBoostSourceGiftCode ChatBoostSourceGiveaway
 CTgBot::ChatBoostSourceGiftCodeThe 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
 CTgBot::ChatBoostSourceGiveawayThe 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
 CTgBot::ChatBoostSourcePremiumThe boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user
 CTgBot::ChatBoostUpdatedThis object represents a boost added to a chat or changed
 CTgBot::ChatFullInfoThis object contains full information about a chat
 CTgBot::ChatInviteLinkRepresents an invite link for a chat
 CTgBot::ChatJoinRequestRepresents a join request sent to a chat
 CTgBot::ChatLocationRepresents a location to which a chat is connected
 CTgBot::ChatMemberThis 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
 CTgBot::ChatMemberAdministratorRepresents a chat member that has some additional privileges
 CTgBot::ChatMemberBannedRepresents a chat member that was banned in the chat and can't return to the chat or view chat messages
 CTgBot::ChatMemberLeftRepresents a chat member that isn't currently a member of the chat, but may join it themselves
 CTgBot::ChatMemberMemberRepresents a chat member that has no additional privileges or restrictions
 CTgBot::ChatMemberOwnerRepresents a chat member that owns the chat and has all administrator privileges
 CTgBot::ChatMemberRestrictedRepresents a chat member that is under certain restrictions in the chat. Supergroups only
 CTgBot::ChatMemberUpdatedThis object represents changes in the status of a chat member
 CTgBot::ChatOwnerChangedDescribes a service message about an ownership change in the chat
 CTgBot::ChatOwnerLeftDescribes a service message about the chat owner leaving the chat
 CTgBot::ChatPermissionsDescribes actions that a non-administrator user is allowed to take in a chat
 CTgBot::ChatPhotoThis object represents a chat photo
 CTgBot::ChatSharedThis object contains information about a chat that was shared with the bot using a KeyboardButtonRequestChat button
 CTgBot::ChecklistDescribes a checklist
 CTgBot::ChecklistTaskDescribes a task in a checklist
 CTgBot::ChecklistTasksAddedDescribes a service message about tasks added to a checklist
 CTgBot::ChecklistTasksDoneDescribes a service message about checklist tasks marked as done or not done
 CTgBot::ChosenInlineResultRepresents a result of an inline query that was chosen by the user and sent to their chat partner
 CTgBot::CommunityRepresents a community (a group of chats)
 CTgBot::CommunityChatAddedDescribes a service message about a chat being added to a community
 CTgBot::CommunityChatRemovedDescribes a service message about a chat being removed from a community. Currently holds no information
 CTgBot::ContactThis object represents a phone contact
 CTgBot::CopyTextButtonThis object represents an inline keyboard button that copies specified text to the clipboard
 CTgBot::DiceThis object represents an animated emoji that displays a random value
 CTgBot::DirectMessagePriceChangedDescribes a service message about a change in the price of direct messages sent to a channel chat
 CTgBot::DirectMessagesTopicDescribes a topic of a direct messages chat
 CTgBot::DocumentThis object represents a general file (as opposed to photos, voice messages and audio files)
 CTgBot::EncryptedCredentialsDescribes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes
 CTgBot::EncryptedPassportElementDescribes documents or other Telegram Passport elements shared with the bot by the user
 CTgBot::EventBroadcasterThis class holds all event listeners
 CTgBot::EventHandler
 CTgBot::ExternalReplyInfoThis object contains information about a message that is being replied to, which may come from another chat or forum topic
 CTgBot::FileThis 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
 CTgBot::ForceReplyUpon 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
 CTgBot::ForumTopicThis object represents a forum topic
 CTgBot::ForumTopicClosedThis object represents a service message about a forum topic closed in the chat. Currently holds no information
 CTgBot::ForumTopicCreatedThis object represents a service message about a new forum topic created in the chat
 CTgBot::ForumTopicEditedThis object represents a service message about an edited forum topic
 CTgBot::ForumTopicReopenedThis object represents a service message about a forum topic reopened in the chat. Currently holds no information
 CTgBot::GameThis object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers
 CTgBot::GameHighScoreThis object represents one row of the high scores table for a game
 CTgBot::GeneralForumTopicHiddenThis object represents a service message about General forum topic hidden in the chat. Currently holds no information
 CTgBot::GeneralForumTopicUnhiddenThis object represents a service message about General forum topic unhidden in the chat. Currently holds no information
 CTgBot::GiftThis object represents a gift that can be sent by the bot
 CTgBot::GiftBackgroundThis object describes the background of a gift
 CTgBot::GiftInfoDescribes a service message about a regular gift that was sent or received
 CTgBot::GiftsThis object represent a list of gifts
 CTgBot::GiveawayThis object represents a message about a scheduled giveaway
 CTgBot::GiveawayCompletedThis object represents a service message about the completion of a giveaway without public winners
 CTgBot::GiveawayCreatedThis object represents a service message about the creation of a scheduled giveaway
 CTgBot::GiveawayWinnersThis object represents a message about the completion of a giveaway with public winners
 CTgBot::HttpClientThis class makes http requests
 CTgBot::CurlHttpClientThis class makes http requests via libcurl
 CTgBot::HttpFile
 CTgBot::HttpFormField
 CTgBot::HttpServer< Protocol >This class handles HTTP requests from the Internet
 CTgBot::TgWebhookServer< Protocol >
 CTgBot::HttpServer< boost::asio::ip::tcp >
 CTgBot::TgWebhookServer< boost::asio::ip::tcp >
 CTgBot::TgWebhookTcpServer
 CTgBot::InaccessibleMessageThis object describes a message that was deleted or is otherwise inaccessible to the bot
 CTgBot::InlineKeyboardButtonThis 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
 CTgBot::InlineKeyboardMarkupThis object represents an inline keyboard that appears right next to the message it belongs to
 CTgBot::InlineQueryThis object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results
 CTgBot::InlineQueryResultThis 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
 CTgBot::InlineQueryResultArticleRepresents a link to an article or web page
 CTgBot::InlineQueryResultAudioRepresents 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
 CTgBot::InlineQueryResultCachedAudioRepresents 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
 CTgBot::InlineQueryResultCachedDocumentRepresents 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
 CTgBot::InlineQueryResultCachedGifRepresents 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
 CTgBot::InlineQueryResultCachedMpeg4GifRepresents 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
 CTgBot::InlineQueryResultCachedPhotoRepresents 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
 CTgBot::InlineQueryResultCachedStickerRepresents 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
 CTgBot::InlineQueryResultCachedVideoRepresents 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
 CTgBot::InlineQueryResultCachedVoiceRepresents 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
 CTgBot::InlineQueryResultContactRepresents 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
 CTgBot::InlineQueryResultDocumentRepresents 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
 CTgBot::InlineQueryResultGameRepresents a Game
 CTgBot::InlineQueryResultGifRepresents 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
 CTgBot::InlineQueryResultLocationRepresents 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
 CTgBot::InlineQueryResultMpeg4GifRepresents 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
 CTgBot::InlineQueryResultPhotoRepresents 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
 CTgBot::InlineQueryResultsButtonThis object represents a button to be shown above inline query results. You must use exactly one of the optional fields
 CTgBot::InlineQueryResultVenueRepresents 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
 CTgBot::InlineQueryResultVideoRepresents 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
 CTgBot::InlineQueryResultVoiceRepresents 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
 CTgBot::InputChecklistDescribes a checklist to create
 CTgBot::InputChecklistTaskDescribes a task to add to a checklist
 CTgBot::InputContactMessageContentRepresents the content of a contact message to be sent as the result of an inline query
 CTgBot::InputFileThis object represents the contents of a file to be uploaded
 CTgBot::InputInvoiceMessageContentRepresents the content of an invoice message to be sent as the result of an inline query
 CTgBot::InputLocationMessageContentRepresents the content of a location message to be sent as the result of an inline query
 CTgBot::InputMediaThis object represents the content of a media message to be sent. It should be one of InputMediaAnimation InputMediaAudio InputMediaDocument InputMediaLivePhoto InputMediaPhoto InputMediaVideo
 CTgBot::InputMediaAnimationRepresents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent
 CTgBot::InputMediaAudioRepresents an audio file to be treated as music to be sent
 CTgBot::InputMediaDocumentRepresents a general file to be sent
 CTgBot::InputMediaLinkRepresents an HTTP link to be sent
 CTgBot::InputMediaLivePhotoRepresents a live photo to be sent
 CTgBot::InputMediaLocationRepresents a location to be sent
 CTgBot::InputMediaPhotoRepresents a photo to be sent
 CTgBot::InputMediaStickerRepresents a sticker file to be sent
 CTgBot::InputMediaVenueRepresents a venue to be sent
 CTgBot::InputMediaVideoRepresents a video to be sent
 CTgBot::InputMediaVoiceNoteRepresents a voice message file to be sent
 CTgBot::InputMessageContentThis 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
 CTgBot::InputPaidMediaThis object describes the paid media to be sent. Currently, it can be one of InputPaidMediaLivePhoto InputPaidMediaPhoto InputPaidMediaVideo
 CTgBot::InputPaidMediaLivePhotoThe paid media to send is a live photo
 CTgBot::InputPaidMediaPhotoThe paid media to send is a photo
 CTgBot::InputPaidMediaVideoThe paid media to send is a video
 CTgBot::InputPollMediaThis 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
 CTgBot::InputPollOptionThis object contains information about one answer option in a poll to be sent
 CTgBot::InputPollOptionMediaThis object represents the content of a poll option to be sent. It should be one of InputMediaAnimation InputMediaLink InputMediaLivePhoto InputMediaLocation InputMediaPhoto InputMediaSticker InputMediaVenue InputMediaVideo
 CTgBot::InputProfilePhotoThis object describes a profile photo to set. Currently, it can be one of InputProfilePhotoStatic InputProfilePhotoAnimated
 CTgBot::InputProfilePhotoAnimatedAn animated profile photo in the MPEG4 format
 CTgBot::InputProfilePhotoStaticA static profile photo in the .JPG format
 CTgBot::InputRichBlockThis 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
 CTgBot::InputRichBlockAnchorA block with an anchor, corresponding to the HTML tag with the attribute name
 CTgBot::InputRichBlockAnimationA block with an animation, corresponding to the HTML tag <video>
 CTgBot::InputRichBlockAudioA block with a music file, corresponding to the HTML tag <audio>
 CTgBot::InputRichBlockBlockQuotationA block quotation, corresponding to the HTML tag
 CTgBot::InputRichBlockCollageA collage, corresponding to the custom HTML tag <tg-collage>
 CTgBot::InputRichBlockDetailsAn expandable block for details disclosure, corresponding to the HTML tag
 CTgBot::InputRichBlockDividerA divider, corresponding to the HTML tag


 CTgBot::InputRichBlockFooterA footer, corresponding to the HTML tag <footer>
 CTgBot::InputRichBlockListA list of blocks, corresponding to the HTML tag
 CTgBot::InputRichBlockListItemAn item of a list to be sent
 CTgBot::InputRichBlockMapA 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
 CTgBot::InputRichBlockMathematicalExpressionA block with a mathematical expression in LaTeX format, corresponding to the custom HTML tag <tg-math-block>
 CTgBot::InputRichBlockParagraphA text paragraph, corresponding to the HTML tag
 CTgBot::InputRichBlockPhotoA block with a photo, corresponding to the HTML tag
 CTgBot::InputRichBlockPreformattedA preformatted text block, corresponding to the nested HTML tags
 CTgBot::InputRichBlockPullQuotationA quotation with centered text, loosely corresponding to the HTML tag <aside>
 CTgBot::InputRichBlockSectionHeadingA section heading, corresponding to the HTML tags
 CTgBot::InputRichBlockSlideshowA slideshow, corresponding to the custom HTML tag <tg-slideshow>
 CTgBot::InputRichBlockTableA table, corresponding to the HTML tag
 CTgBot::InputRichBlockThinkingA 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
 CTgBot::InputRichBlockVideoA block with a video, corresponding to the HTML tag <video>
 CTgBot::InputRichBlockVoiceNoteA block with a voice note, corresponding to the HTML tag <audio>
 CTgBot::InputRichMessageDescribes a rich message to be sent. Exactly one of the fields html, markdown, or blocks must be used
 CTgBot::InputRichMessageContentRepresents the content of a rich message to be sent as the result of an inline query
 CTgBot::InputRichMessageMediaDescribes a media element embedded in an outgoing rich message
 CTgBot::InputStickerThis object describes a sticker to be added to a sticker set
 CTgBot::InputStoryContentThis object describes the content of a story to post. Currently, it can be one of InputStoryContentPhoto InputStoryContentVideo
 CTgBot::InputStoryContentPhotoDescribes a photo to post as a story
 CTgBot::InputStoryContentVideoDescribes a video to post as a story
 CTgBot::InputTextMessageContentRepresents the content of a text message to be sent as the result of an inline query
 CTgBot::InputVenueMessageContentRepresents the content of a venue message to be sent as the result of an inline query
 CTgBot::InvoiceThis object contains basic information about an invoice
 CTgBot::KeyboardButtonThis 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
 CTgBot::KeyboardButtonPollTypeThis object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed
 CTgBot::KeyboardButtonRequestChatThis 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 »
 CTgBot::KeyboardButtonRequestManagedBotThis 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
 CTgBot::KeyboardButtonRequestUsersThis 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 »
 CTgBot::LabeledPriceThis object represents a portion of the price for goods or services
 CTgBot::LinkRepresents an HTTP link
 CTgBot::LinkPreviewOptionsDescribes the options used for link preview generation
 CTgBot::LivePhotoThis object represents a live photo
 CTgBot::LocationThis object represents a point on the map
 CTgBot::LocationAddressDescribes the physical address of a location
 CTgBot::LoginUrlThis 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
 CTgBot::ManagedBotCreatedThis object contains information about the bot that was created to be managed by the current bot
 CTgBot::ManagedBotUpdatedThis object contains information about the creation, token update, or owner update of a bot that is managed by the current bot
 CTgBot::MaskPositionThis object describes the position on faces where a mask should be placed by default
 CTgBot::MaybeInaccessibleMessageThis object describes a message that can be inaccessible to the bot. It can be one of Message InaccessibleMessage
 CTgBot::MenuButtonThis 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
 CTgBot::MenuButtonCommandsRepresents a menu button, which opens the bot's list of commands
 CTgBot::MenuButtonDefaultDescribes that no specific value for the menu button was set
 CTgBot::MenuButtonWebAppRepresents a menu button, which launches a Web App
 CTgBot::MessageThis object represents a message
 CTgBot::MessageAutoDeleteTimerChangedThis object represents a service message about a change in auto-delete timer settings
 CTgBot::MessageEntityThis object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc
 CTgBot::MessageIdThis object represents a unique message identifier
 CTgBot::MessageOriginThis object describes the origin of a message. It can be one of MessageOriginUser MessageOriginHiddenUser MessageOriginChat MessageOriginChannel
 CTgBot::MessageOriginChannelThe message was originally sent to a channel chat
 CTgBot::MessageOriginChatThe message was originally sent on behalf of a chat to a group chat
 CTgBot::MessageOriginHiddenUserThe message was originally sent by an unknown user
 CTgBot::MessageOriginUserThe message was originally sent by a known user
 CTgBot::MessageReactionCountUpdatedThis object represents reaction changes on a message with anonymous reactions
 CTgBot::MessageReactionUpdatedThis object represents a change of a reaction on a message performed by a user
 CTgBot::OrderInfoThis object represents information about an order
 CTgBot::OwnedGiftThis object describes a gift received and owned by a user or a chat. Currently, it can be one of OwnedGiftRegular OwnedGiftUnique
 CTgBot::OwnedGiftRegularDescribes a regular gift owned by a user or a chat
 CTgBot::OwnedGiftsContains the list of gifts received and owned by a user or a chat
 CTgBot::OwnedGiftUniqueDescribes a unique gift received and owned by a user or a chat
 CTgBot::PaidMediaThis object describes paid media. Currently, it can be one of PaidMediaLivePhoto PaidMediaPhoto PaidMediaPreview PaidMediaVideo
 CTgBot::PaidMediaInfoDescribes the paid media added to a message
 CTgBot::PaidMediaLivePhotoThe paid media is a live photo
 CTgBot::PaidMediaPhotoThe paid media is a photo
 CTgBot::PaidMediaPreviewThe paid media isn't available before the payment
 CTgBot::PaidMediaPurchasedThis object contains information about a paid media purchase
 CTgBot::PaidMediaVideoThe paid media is a video
 CTgBot::PaidMessagePriceChangedDescribes a service message about a change in the price of paid messages within a chat
 CTgBot::PassportDataDescribes Telegram Passport data shared with the bot by the user
 CTgBot::PassportElementErrorThis 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
 CTgBot::PassportElementErrorDataFieldRepresents 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
 CTgBot::PassportElementErrorFileRepresents an issue with a document scan. The error is considered resolved when the file with the document scan changes
 CTgBot::PassportElementErrorFilesRepresents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes
 CTgBot::PassportElementErrorFrontSideRepresents 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
 CTgBot::PassportElementErrorReverseSideRepresents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes
 CTgBot::PassportElementErrorSelfieRepresents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes
 CTgBot::PassportElementErrorTranslationFileRepresents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes
 CTgBot::PassportElementErrorTranslationFilesRepresents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change
 CTgBot::PassportElementErrorUnspecifiedRepresents an issue in an unspecified place. The error is considered resolved when new data is added
 CTgBot::PassportFileThis object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB
 CTgBot::PhotoSizeThis object represents one size of a photo or a file / sticker thumbnail
 CTgBot::PollThis object contains information about a poll
 CTgBot::PollAnswerThis object represents an answer of a user in a non-anonymous poll
 CTgBot::PollMediaAt most one of the optional fields can be present in any given object
 CTgBot::PollOptionThis object contains information about one answer option in a poll
 CTgBot::PollOptionAddedDescribes a service message about an option added to a poll
 CTgBot::PollOptionDeletedDescribes a service message about an option deleted from a poll
 CTgBot::PreCheckoutQueryThis object contains information about an incoming pre-checkout query
 CTgBot::PreparedInlineMessageDescribes an inline message to be sent by a user of a Mini App
 CTgBot::PreparedKeyboardButtonDescribes a keyboard button to be used by a user of a Mini App
 CTgBot::ProximityAlertTriggeredThis object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user
 CTgBot::ReactionCountRepresents a reaction added to a message along with the number of times it was added
 CTgBot::ReactionTypeThis object describes the type of a reaction. Currently, it can be one of ReactionTypeEmoji ReactionTypeCustomEmoji ReactionTypePaid
 CTgBot::ReactionTypeCustomEmojiThe reaction is based on a custom emoji
 CTgBot::ReactionTypeEmojiThe reaction is based on an emoji
 CTgBot::ReactionTypePaidThe reaction is paid
 CTgBot::RefundedPaymentThis object contains basic information about a refunded payment
 CTgBot::ReplyKeyboardMarkupThis 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
 CTgBot::ReplyKeyboardRemoveUpon 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
 CTgBot::ReplyParametersDescribes reply parameters for the message that is being sent
 CTgBot::ResponseParametersDescribes why a request was unsuccessful
 CTgBot::RevenueWithdrawalStateThis object describes the state of a revenue withdrawal operation. Currently, it can be one of RevenueWithdrawalStatePending RevenueWithdrawalStateSucceeded RevenueWithdrawalStateFailed
 CTgBot::RevenueWithdrawalStateFailedThe withdrawal failed and the transaction was refunded
 CTgBot::RevenueWithdrawalStatePendingThe withdrawal is in progress
 CTgBot::RevenueWithdrawalStateSucceededThe withdrawal succeeded
 CTgBot::RichBlockThis 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
 CTgBot::RichBlockAnchorA block with an anchor, corresponding to the HTML tag with the attribute name
 CTgBot::RichBlockAnimationA block with an animation, corresponding to the HTML tag <video>
 CTgBot::RichBlockAudioA block with a music file, corresponding to the HTML tag <audio>
 CTgBot::RichBlockBlockQuotationA block quotation, corresponding to the HTML tag
 CTgBot::RichBlockCaptionCaption of a rich formatted block
 CTgBot::RichBlockCollageA collage, corresponding to the custom HTML tag <tg-collage>
 CTgBot::RichBlockDetailsAn expandable block for details disclosure, corresponding to the HTML tag
 CTgBot::RichBlockDividerA divider, corresponding to the HTML tag


 CTgBot::RichBlockFooterA footer, corresponding to the HTML tag <footer>
 CTgBot::RichBlockListA list of blocks, corresponding to the HTML tag
 CTgBot::RichBlockListItemAn item of a list
 CTgBot::RichBlockMapA block with a map, corresponding to the custom HTML tag <tg-map>
 CTgBot::RichBlockMathematicalExpressionA block with a mathematical expression in LaTeX format, corresponding to the custom HTML tag <tg-math-block>
 CTgBot::RichBlockParagraphA text paragraph, corresponding to the HTML tag
 CTgBot::RichBlockPhotoA block with a photo, corresponding to the HTML tag
 CTgBot::RichBlockPreformattedA preformatted text block, corresponding to the nested HTML tags
 CTgBot::RichBlockPullQuotationA quotation with centered text, loosely corresponding to the HTML tag <aside>
 CTgBot::RichBlockSectionHeadingA section heading, corresponding to the HTML tags
 CTgBot::RichBlockSlideshowA slideshow, corresponding to the custom HTML tag <tg-slideshow>
 CTgBot::RichBlockTableA table, corresponding to the HTML tag
 CTgBot::RichBlockTableCellCell in a table
 CTgBot::RichBlockThinkingA 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
 CTgBot::RichBlockVideoA block with a video, corresponding to the HTML tag <video>
 CTgBot::RichBlockVoiceNoteA block with a voice note, corresponding to the HTML tag <audio>
 CTgBot::RichMessageRich formatted message
 CTgBot::RichTextThis 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
 CTgBot::RichTextAnchorAn anchor
 CTgBot::RichTextAnchorLinkA link to an anchor
 CTgBot::RichTextBankCardNumberA text with a bank card number
 CTgBot::RichTextBoldA bold text
 CTgBot::RichTextBotCommandA bot command
 CTgBot::RichTextCashtagA cashtag
 CTgBot::RichTextCodeA monowidth text
 CTgBot::RichTextCustomEmojiA custom emoji
 CTgBot::RichTextDateTimeFormatted date and time
 CTgBot::RichTextEmailAddressA text with an email address
 CTgBot::RichTextHashtagA hashtag
 CTgBot::RichTextItalicAn italicized text
 CTgBot::RichTextMarkedA marked text
 CTgBot::RichTextMathematicalExpressionA mathematical expression
 CTgBot::RichTextMentionA mention by a username
 CTgBot::RichTextPhoneNumberA text with a phone number
 CTgBot::RichTextReferenceA reference
 CTgBot::RichTextReferenceLinkA link to a reference
 CTgBot::RichTextSpoilerA text covered by a spoiler
 CTgBot::RichTextStrikethroughA strikethrough text
 CTgBot::RichTextSubscriptA subscript text
 CTgBot::RichTextSuperscriptA superscript text
 CTgBot::RichTextTextMentionA mention of a Telegram user by their identifier
 CTgBot::RichTextUnderlineAn underlined text
 CTgBot::RichTextUrlA text with a link
 Cstd::runtime_error
 CTgBot::TgExceptionException type which is only thrown when Telegram refuses API request
 CTgBot::SentGuestMessageDescribes an inline message sent by a guest bot
 CTgBot::SentWebAppMessageDescribes an inline message sent by a Web App on behalf of a user
 CTgBot::SharedUserThis object contains information about a user that was shared with the bot using a KeyboardButtonRequestUsers button
 CTgBot::ShippingAddressThis object represents a shipping address
 CTgBot::ShippingOptionThis object represents one shipping option
 CTgBot::ShippingQueryThis object contains information about an incoming shipping query
 CTgBot::StarAmountDescribes an amount of Telegram Stars
 CTgBot::StarTransactionDescribes 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
 CTgBot::StarTransactionsContains a list of Telegram Star transactions
 CTgBot::StickerThis object represents a sticker
 CTgBot::StickerSetThis object represents a sticker set
 CTgBot::StoryThis object represents a story
 CTgBot::StoryAreaDescribes a clickable area on a story media
 CTgBot::StoryAreaPositionDescribes the position of a clickable area within a story
 CTgBot::StoryAreaTypeDescribes the type of a clickable area on a story. Currently, it can be one of StoryAreaTypeLocation StoryAreaTypeSuggestedReaction StoryAreaTypeLink StoryAreaTypeWeather StoryAreaTypeUniqueGift
 CTgBot::StoryAreaTypeLinkDescribes a story area pointing to an HTTP or tg:// link. Currently, a story can have up to 3 link areas
 CTgBot::StoryAreaTypeLocationDescribes a story area pointing to a location. Currently, a story can have up to 10 location areas
 CTgBot::StoryAreaTypeSuggestedReactionDescribes a story area pointing to a suggested reaction. Currently, a story can have up to 5 suggested reaction areas
 CTgBot::StoryAreaTypeUniqueGiftDescribes a story area pointing to a unique gift. Currently, a story can have at most 1 unique gift area
 CTgBot::StoryAreaTypeWeatherDescribes a story area containing weather information. Currently, a story can have up to 3 weather areas
 CTgBot::SuccessfulPaymentThis 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
 CTgBot::SuggestedPostApprovalFailedDescribes a service message about the failed approval of a suggested post. Currently, only caused by insufficient user funds at the time of approval
 CTgBot::SuggestedPostApprovedDescribes a service message about the approval of a suggested post
 CTgBot::SuggestedPostDeclinedDescribes a service message about the rejection of a suggested post
 CTgBot::SuggestedPostInfoContains information about a suggested post
 CTgBot::SuggestedPostPaidDescribes a service message about a successful payment for a suggested post
 CTgBot::SuggestedPostParametersContains parameters of a post that is being suggested by the bot
 CTgBot::SuggestedPostPriceDescribes the price of a suggested post
 CTgBot::SuggestedPostRefundedDescribes a service message about a payment refund for a suggested post
 CTgBot::SwitchInlineQueryChosenChatThis object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query
 CTgBot::TextQuoteThis object contains information about the quoted part of a message that is replied to by the given message
 CTgBot::TgLongPollThis class handles long polling and updates parsing
 CTgBot::TransactionPartnerThis 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
 CTgBot::TransactionPartnerAffiliateProgramDescribes the affiliate program that issued the affiliate commission received via this transaction
 CTgBot::TransactionPartnerChatDescribes a transaction with a chat
 CTgBot::TransactionPartnerFragmentDescribes a withdrawal transaction with Fragment
 CTgBot::TransactionPartnerOtherDescribes a transaction with an unknown source or recipient
 CTgBot::TransactionPartnerTelegramAdsDescribes a withdrawal transaction to the Telegram Ads platform
 CTgBot::TransactionPartnerTelegramApiDescribes a transaction with payment for paid broadcasting
 CTgBot::TransactionPartnerUserDescribes a transaction with a user
 CTgBot::UniqueGiftThis object describes a unique gift that was upgraded from a regular gift
 CTgBot::UniqueGiftBackdropThis object describes the backdrop of a unique gift
 CTgBot::UniqueGiftBackdropColorsThis object describes the colors of the backdrop of a unique gift
 CTgBot::UniqueGiftColorsThis object contains information about the color scheme for a user's name, message replies and link previews based on a unique gift
 CTgBot::UniqueGiftInfoDescribes a service message about a unique gift that was sent or received
 CTgBot::UniqueGiftModelThis object describes the model of a unique gift
 CTgBot::UniqueGiftSymbolThis object describes the symbol shown on the pattern of a unique gift
 CTgBot::UpdateThis object represents an incoming update.At most one of the optional fields can be present in any given update
 CTgBot::UserThis object represents a Telegram user or bot
 CTgBot::UserChatBoostsThis object represents a list of boosts added to a chat by a user
 CTgBot::UserProfileAudiosThis object represents the audios displayed on a user's profile
 CTgBot::UserProfilePhotosThis object represent a user's profile pictures
 CTgBot::UserRatingThis object describes the rating of a user based on their Telegram Star spendings
 CTgBot::UsersSharedThis object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button
 CTgBot::VenueThis object represents a venue
 CTgBot::VideoThis object represents a video file
 CTgBot::VideoChatEndedThis object represents a service message about a video chat ended in the chat
 CTgBot::VideoChatParticipantsInvitedThis object represents a service message about new members invited to a video chat
 CTgBot::VideoChatScheduledThis object represents a service message about a video chat scheduled in the chat
 CTgBot::VideoChatStartedThis object represents a service message about a video chat started in the chat. Currently holds no information
 CTgBot::VideoNoteThis object represents a video message (available in Telegram apps as of v.4.0)
 CTgBot::VideoQualityThis object represents a video file of a specific quality
 CTgBot::VoiceThis object represents a voice note
 CTgBot::WebAppDataDescribes data sent from a Web App to the bot
 CTgBot::WebAppInfoDescribes a Web App
 CTgBot::WebhookInfoDescribes the current status of a webhook
 CTgBot::WriteAccessAllowedThis 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