tgbot-cpp
Loading...
Searching...
No Matches
Types

Classes

class  TgBot::Animation
 This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound). More...
 
class  TgBot::Audio
 This object represents an audio file to be treated as music by the Telegram clients. More...
 
class  TgBot::BotCommand
 This object represents a bot command. More...
 
class  TgBot::BotCommandScope
 This abstract class is base of all bot command scopes. More...
 
class  TgBot::BotCommandScopeAllChatAdministrators
 Represents the scope of bot commands, covering all group and supergroup chat administrators. More...
 
class  TgBot::BotCommandScopeAllGroupChats
 Represents the scope of bot commands, covering all group and supergroup chats. More...
 
class  TgBot::BotCommandScopeAllPrivateChats
 Represents the scope of bot commands, covering all private chats. More...
 
class  TgBot::BotCommandScopeChat
 Represents the scope of bot commands, covering a specific chat. More...
 
class  TgBot::BotCommandScopeChatAdministrators
 Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat. More...
 
class  TgBot::BotCommandScopeChatMember
 Represents the scope of bot commands, covering a specific member of a group or supergroup chat. More...
 
class  TgBot::BotCommandScopeDefault
 Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user. More...
 
class  TgBot::CallbackGame
 A placeholder, currently holds no information. Use BotFather to set up your game. More...
 
class  TgBot::CallbackQuery
 This object represents an incoming callback query from a callback button in an inline keyboard. More...
 
class  TgBot::Chat
 This object represents a chat. More...
 
class  TgBot::ChatAdministratorRights
 Represents the rights of an administrator in a chat. More...
 
class  TgBot::ChatInviteLink
 Represents an invite link for a chat. More...
 
class  TgBot::ChatJoinRequest
 Represents a join request sent to a chat. More...
 
class  TgBot::ChatLocation
 Represents a location to which a chat is connected. More...
 
class  TgBot::ChatMember
 This abstract class is base of all chat members. More...
 
class  TgBot::ChatMemberAdministrator
 Represents a chat member that has some additional privileges. More...
 
class  TgBot::ChatMemberBanned
 Represents a chat member that was banned in the chat and can't return to the chat or view chat messages. More...
 
class  TgBot::ChatMemberLeft
 Represents a chat member that isn't currently a member of the chat, but may join it themselves. More...
 
class  TgBot::ChatMemberMember
 Represents a chat member that has no additional privileges or restrictions. More...
 
class  TgBot::ChatMemberOwner
 Represents a chat member that owns the chat and has all administrator privileges. More...
 
class  TgBot::ChatMemberRestricted
 Represents a chat member that is under certain restrictions in the chat. More...
 
class  TgBot::ChatMemberUpdated
 This object represents changes in the status of a chat member. More...
 
class  TgBot::ChatPermissions
 Describes actions that a non-administrator user is allowed to take in a chat. More...
 
class  TgBot::ChatPhoto
 This object represents a chat photo. More...
 
class  TgBot::ChatShared
 This object contains information about the chat whose identifier was shared with the bot using a KeyboardButtonRequestChat button. More...
 
class  TgBot::ChosenInlineResult
 This object represents a result of an inline query that was chosen by the user and sent to their chat partner. More...
 
class  TgBot::Contact
 This object represents a phone contact. More...
 
class  TgBot::Dice
 This object represents an animated emoji that displays a random value. More...
 
class  TgBot::Document
 This object represents a general file (as opposed to photos, voice messages and audio files). More...
 
class  TgBot::EncryptedCredentials
 Contains data required for decrypting and authenticating EncryptedPassportElement. See https://core.telegram.org/passport#receiving-information for a complete description of the data decryption and authentication. More...
 
class  TgBot::EncryptedPassportElement
 Contains information about documents or other Telegram Passport elements shared with the bot by the user. More...
 
class  TgBot::File
 This object represents a file ready to be downloaded. The file can be downloaded via Api::downloadFile or via the link https://api.telegram.org/file/bot<token>/<filePath>. It is guaranteed that the File::filePath will be valid for at least 1 hour. When the File::filePath expires, a new one can be requested by calling Api::getFile. More...
 
class  TgBot::ForceReply
 Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. More...
 
class  TgBot::ForumTopic
 This object represents a forum topic. More...
 
class  TgBot::ForumTopicClosed
 This object represents a service message about a forum topic closed in the chat. More...
 
class  TgBot::ForumTopicCreated
 This object represents a service message about a new forum topic created in the chat. More...
 
class  TgBot::ForumTopicEdited
 This object represents a service message about an edited forum topic. More...
 
class  TgBot::ForumTopicReopened
 This object represents a service message about a forum topic reopened in the chat. More...
 
class  TgBot::Game
 This object represents a game. More...
 
class  TgBot::GameHighScore
 This object represents one row of the high scores table for a game. More...
 
class  TgBot::GeneralForumTopicHidden
 This object represents a service message about General forum topic hidden in the chat. More...
 
class  TgBot::GeneralForumTopicUnhidden
 This object represents a service message about General forum topic unhidden in the chat. More...
 
class  TgBot::GenericReply
 This abstract class is base of all keyboard related events. More...
 
class  TgBot::InlineKeyboardButton
 This object represents one button of an inline keyboard. You must use exactly one of the optional fields. More...
 
class  TgBot::InlineKeyboardMarkup
 This object represents an inline keyboard that appears right next to the message it belongs to. More...
 
class  TgBot::InlineQuery
 This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results. More...
 
class  TgBot::InlineQueryResult
 This abstract class is base of all inline query results. More...
 
class  TgBot::InlineQueryResultArticle
 Represents a link to an article of web page. More...
 
class  TgBot::InlineQueryResultAudio
 Represents a link to an MP3 audio file. By default, this audio file will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the audio. More...
 
class  TgBot::InlineQueryResultCachedAudio
 Represents 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 inputMessageContent to send a message with the specified content instead of the audio. More...
 
class  TgBot::InlineQueryResultCachedDocument
 Represents 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 inputMessageContent to send a message with the specified content instead of the file. More...
 
class  TgBot::InlineQueryResultCachedGif
 Represents 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 inputMessageContent to send a message with specified content instead of the animation. More...
 
class  TgBot::InlineQueryResultCachedMpeg4Gif
 Represents 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 inputMessageContent to send a message with the specified content instead of the animation. More...
 
class  TgBot::InlineQueryResultCachedPhoto
 Represents 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 inputMessageContent to send a message with the specified content instead of the photo. More...
 
class  TgBot::InlineQueryResultCachedSticker
 Represents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the sticker. More...
 
class  TgBot::InlineQueryResultCachedVideo
 Represents 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 inputMessageContent to send a message with the specified content instead of the video. More...
 
class  TgBot::InlineQueryResultCachedVoice
 Represents 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 inputMessageContent to send a message with the specified content instead of the voice message. More...
 
class  TgBot::InlineQueryResultContact
 Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the contact. More...
 
class  TgBot::InlineQueryResultDocument
 Represents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the file. Currently, only .PDF and .ZIP files can be sent using this method. More...
 
class  TgBot::InlineQueryResultGame
 Represents a Game. More...
 
class  TgBot::InlineQueryResultGif
 Represents 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 inputMessageContent to send a message with the specified content instead of the animation. More...
 
class  TgBot::InlineQueryResultLocation
 Represents a location on a map. By default, the location will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the location. More...
 
class  TgBot::InlineQueryResultMpeg4Gif
 Represents 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 inputMessageContent to send a message with the specified content instead of the animation. More...
 
class  TgBot::InlineQueryResultPhoto
 Represents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the photo. More...
 
class  TgBot::InlineQueryResultVenue
 Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the venue. More...
 
class  TgBot::InlineQueryResultVideo
 Represents 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 inputMessageContent to send a message with the specified content instead of the video. More...
 
class  TgBot::InlineQueryResultVoice
 Represents 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 inputMessageContent to send a message with the specified content instead of the the voice message. More...
 
class  TgBot::InputContactMessageContent
 Represents the content of a contact message to be sent as the result of an inline query. More...
 
class  TgBot::InputFile
 This object represents the contents of a file to be uploaded. More...
 
class  TgBot::InputInvoiceMessageContent
 Represents the content of an invoice message to be sent as the result of an inline query. More...
 
class  TgBot::InputLocationMessageContent
 Represents the content of a location message to be sent as the result of an inline query. More...
 
class  TgBot::InputMedia
 This abstract class is base of all input media. More...
 
class  TgBot::InputMediaAnimation
 Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent. More...
 
class  TgBot::InputMediaAudio
 Represents an audio file to be treated as music to be sent. More...
 
class  TgBot::InputMediaDocument
 Represents a general file to be sent. More...
 
class  TgBot::InputMediaPhoto
 Represents a photo to be sent. More...
 
class  TgBot::InputMediaVideo
 Represents a video to be sent. More...
 
class  TgBot::InputMessageContent
 This abstract class is base of all message contents. More...
 
class  TgBot::InputTextMessageContent
 Represents the content of a text message to be sent as the result of an inline query. More...
 
class  TgBot::InputVenueMessageContent
 Represents the content of a venue message to be sent as the result of an inline query. More...
 
class  TgBot::Invoice
 This object contains basic information about an invoice. More...
 
class  TgBot::KeyboardButton
 This object represents one button of the reply keyboard. For simple text buttons, String can be used instead of this object to specify the button text. The optional fields webApp, requestUser, requestChat, requestContact, requestLocation, and requestPoll are mutually exclusive. More...
 
class  TgBot::KeyboardButtonPollType
 This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed. More...
 
class  TgBot::KeyboardButtonRequestChat
 This object defines the criteria used to request a suitable chat. The identifier of the selected chat will be shared with the bot when the corresponding button is pressed. More...
 
class  TgBot::KeyboardButtonRequestUser
 This object defines the criteria used to request a suitable user. The identifier of the selected user will be shared with the bot when the corresponding button is pressed. More...
 
class  TgBot::LabeledPrice
 This object represents a portion of the price for goods or services. More...
 
class  TgBot::Location
 This object represents a point on the map. More...
 
class  TgBot::LoginUrl
 This 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. More...
 
class  TgBot::MaskPosition
 This object describes the position on faces where a mask should be placed by default. More...
 
class  TgBot::MenuButton
 This abstract class is base of all bot menu buttons. More...
 
class  TgBot::MenuButtonCommands
 Represents a menu button, which opens the bot's list of commands. More...
 
class  TgBot::MenuButtonDefault
 Describes that no specific value for the menu button was set. More...
 
class  TgBot::MenuButtonWebApp
 Represents a menu button, which launches a Web App. More...
 
class  TgBot::Message
 This object represents a message. More...
 
class  TgBot::MessageAutoDeleteTimerChanged
 This object represents a service message about a change in auto-delete timer settings. More...
 
class  TgBot::MessageEntity
 This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc. More...
 
class  TgBot::MessageId
 This object represents a unique message identifier. More...
 
class  TgBot::OrderInfo
 This object represents information about an order. More...
 
class  TgBot::PassportData
 Contains information about Telegram Passport data shared with the bot by the user. More...
 
class  TgBot::PassportElementError
 This abstract class is base of all passport element errors. More...
 
class  TgBot::PassportElementErrorDataField
 Represents 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. More...
 
class  TgBot::PassportElementErrorFile
 Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes. More...
 
class  TgBot::PassportElementErrorFiles
 Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes. More...
 
class  TgBot::PassportElementErrorFrontSide
 Represents 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. More...
 
class  TgBot::PassportElementErrorReverseSide
 Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes. More...
 
class  TgBot::PassportElementErrorSelfie
 Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes. More...
 
class  TgBot::PassportElementErrorTranslationFile
 Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes. More...
 
class  TgBot::PassportElementErrorTranslationFiles
 Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change. More...
 
class  TgBot::PassportElementErrorUnspecified
 Represents an issue in an unspecified place. The error is considered resolved when new data is added. More...
 
class  TgBot::PassportFile
 This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB. More...
 
class  TgBot::PhotoSize
 This object represents one size of a photo or a file / sticker thumbnail. More...
 
class  TgBot::Poll
 This object contains information about a poll. More...
 
class  TgBot::PollAnswer
 This object represents an answer of a user in a non-anonymous poll. More...
 
class  TgBot::PreCheckoutQuery
 This object contains information about an incoming pre-checkout query. More...
 
class  TgBot::ProximityAlertTriggered
 This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user. More...
 
class  TgBot::ReplyKeyboardMarkup
 This object represents a custom keyboard with reply options (see https://core.telegram.org/bots/features#keyboards for details and examples). More...
 
class  TgBot::ReplyKeyboardRemove
 Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. More...
 
class  TgBot::ResponseParameters
 Contains information about why a request was unsuccessfull. More...
 
class  TgBot::SentWebAppMessage
 Contains information about an inline message sent by a Web App on behalf of a user. More...
 
class  TgBot::ShippingAddress
 This object represents a shipping address. More...
 
class  TgBot::ShippingOption
 This object represents one shipping option. More...
 
class  TgBot::ShippingQuery
 This object contains information about an incoming shipping query. More...
 
class  TgBot::Sticker
 This object represents a sticker. More...
 
class  TgBot::StickerSet
 This object represents a sticker set. More...
 
class  TgBot::SuccessfulPayment
 This object contains basic information about a successful payment. More...
 
class  TgBot::Update
 This object represents an incoming update. At most one of the optional parameters can be present in any given update. More...
 
class  TgBot::User
 This object represents a Telegram user or bot. More...
 
class  TgBot::UserProfilePhotos
 This object represent a user's profile pictures. More...
 
class  TgBot::UserShared
 This object contains information about the user whose identifier was shared with the bot using a KeyboardButtonRequestUser button. More...
 
class  TgBot::Venue
 This object represents a venue. More...
 
class  TgBot::Video
 This object represents a video file. More...
 
class  TgBot::VideoChatEnded
 This object represents a service message about a video chat ended in the chat. More...
 
class  TgBot::VideoChatParticipantsInvited
 This object represents a service message about new members invited to a video chat. More...
 
class  TgBot::VideoChatScheduled
 This object represents a service message about a video chat scheduled in the chat. More...
 
class  TgBot::VideoChatStarted
 This object represents a service message about a video chat started in the chat. Currently holds no information. More...
 
class  TgBot::VideoNote
 This object represents a video message. More...
 
class  TgBot::Voice
 This object represents a voice note. More...
 
class  TgBot::WebAppData
 Contains data sent from a Web App to the bot. More...
 
class  TgBot::WebAppInfo
 Contains information about a Web App. More...
 
class  TgBot::WebhookInfo
 Contains information about the current status of a webhook. More...
 
class  TgBot::WriteAccessAllowed
 This object represents a service message about a user allowing a bot added to the attachment menu to write messages. More...
 

Detailed Description