tgbot-cpp
Loading...
Searching...
No Matches
TgBot Namespace Reference

Classes

class  Animation
 This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound). More...
 
class  Api
 This class executes telegram api methods. Telegram docs: https://core.telegram.org/bots/api#available-methods More...
 
class  Audio
 This object represents an audio file to be treated as music by the Telegram clients. More...
 
class  BoostHttpOnlySslClient
 This class makes http requests via boost::asio. More...
 
class  Bot
 This object holds other objects specific for this bot instance. More...
 
class  BotCommand
 This object represents a bot command. More...
 
class  BotCommandScope
 This abstract class is base of all bot command scopes. More...
 
class  BotCommandScopeAllChatAdministrators
 Represents the scope of bot commands, covering all group and supergroup chat administrators. More...
 
class  BotCommandScopeAllGroupChats
 Represents the scope of bot commands, covering all group and supergroup chats. More...
 
class  BotCommandScopeAllPrivateChats
 Represents the scope of bot commands, covering all private chats. More...
 
class  BotCommandScopeChat
 Represents the scope of bot commands, covering a specific chat. More...
 
class  BotCommandScopeChatAdministrators
 Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat. More...
 
class  BotCommandScopeChatMember
 Represents the scope of bot commands, covering a specific member of a group or supergroup chat. More...
 
class  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  CallbackGame
 A placeholder, currently holds no information. Use BotFather to set up your game. More...
 
class  CallbackQuery
 This object represents an incoming callback query from a callback button in an inline keyboard. More...
 
class  Chat
 This object represents a chat. More...
 
class  ChatAdministratorRights
 Represents the rights of an administrator in a chat. More...
 
class  ChatInviteLink
 Represents an invite link for a chat. More...
 
class  ChatJoinRequest
 Represents a join request sent to a chat. More...
 
class  ChatLocation
 Represents a location to which a chat is connected. More...
 
class  ChatMember
 This abstract class is base of all chat members. More...
 
class  ChatMemberAdministrator
 Represents a chat member that has some additional privileges. More...
 
class  ChatMemberBanned
 Represents a chat member that was banned in the chat and can't return to the chat or view chat messages. More...
 
class  ChatMemberLeft
 Represents a chat member that isn't currently a member of the chat, but may join it themselves. More...
 
class  ChatMemberMember
 Represents a chat member that has no additional privileges or restrictions. More...
 
class  ChatMemberOwner
 Represents a chat member that owns the chat and has all administrator privileges. More...
 
class  ChatMemberRestricted
 Represents a chat member that is under certain restrictions in the chat. More...
 
class  ChatMemberUpdated
 This object represents changes in the status of a chat member. More...
 
class  ChatPermissions
 Describes actions that a non-administrator user is allowed to take in a chat. More...
 
class  ChatPhoto
 This object represents a chat photo. More...
 
class  ChatShared
 This object contains information about the chat whose identifier was shared with the bot using a KeyboardButtonRequestChat button. More...
 
class  ChosenInlineResult
 This object represents a result of an inline query that was chosen by the user and sent to their chat partner. More...
 
class  Contact
 This object represents a phone contact. More...
 
class  CurlHttpClient
 This class makes http requests via libcurl. More...
 
class  Dice
 This object represents an animated emoji that displays a random value. More...
 
class  Document
 This object represents a general file (as opposed to photos, voice messages and audio files). More...
 
class  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  EncryptedPassportElement
 Contains information about documents or other Telegram Passport elements shared with the bot by the user. More...
 
class  EventBroadcaster
 This class holds all event listeners. More...
 
class  EventHandler
 
class  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  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  ForumTopic
 This object represents a forum topic. More...
 
class  ForumTopicClosed
 This object represents a service message about a forum topic closed in the chat. More...
 
class  ForumTopicCreated
 This object represents a service message about a new forum topic created in the chat. More...
 
class  ForumTopicEdited
 This object represents a service message about an edited forum topic. More...
 
class  ForumTopicReopened
 This object represents a service message about a forum topic reopened in the chat. More...
 
class  Game
 This object represents a game. More...
 
class  GameHighScore
 This object represents one row of the high scores table for a game. More...
 
class  GeneralForumTopicHidden
 This object represents a service message about General forum topic hidden in the chat. More...
 
class  GeneralForumTopicUnhidden
 This object represents a service message about General forum topic unhidden in the chat. More...
 
class  GenericReply
 This abstract class is base of all keyboard related events. More...
 
class  HttpClient
 This class makes http requests. More...
 
class  HttpParser
 
class  HttpReqArg
 This class represents argument in POST http requests. More...
 
class  HttpServer
 This class handles HTTP requests from the Internet. More...
 
class  InlineKeyboardButton
 This object represents one button of an inline keyboard. You must use exactly one of the optional fields. More...
 
class  InlineKeyboardMarkup
 This object represents an inline keyboard that appears right next to the message it belongs to. More...
 
class  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  InlineQueryResult
 This abstract class is base of all inline query results. More...
 
class  InlineQueryResultArticle
 Represents a link to an article of web page. More...
 
class  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  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  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  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  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  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  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  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  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  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  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  InlineQueryResultGame
 Represents a Game. More...
 
class  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  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  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  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  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  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  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  InputContactMessageContent
 Represents the content of a contact message to be sent as the result of an inline query. More...
 
class  InputFile
 This object represents the contents of a file to be uploaded. More...
 
class  InputInvoiceMessageContent
 Represents the content of an invoice message to be sent as the result of an inline query. More...
 
class  InputLocationMessageContent
 Represents the content of a location message to be sent as the result of an inline query. More...
 
class  InputMedia
 This abstract class is base of all input media. More...
 
class  InputMediaAnimation
 Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent. More...
 
class  InputMediaAudio
 Represents an audio file to be treated as music to be sent. More...
 
class  InputMediaDocument
 Represents a general file to be sent. More...
 
class  InputMediaPhoto
 Represents a photo to be sent. More...
 
class  InputMediaVideo
 Represents a video to be sent. More...
 
class  InputMessageContent
 This abstract class is base of all message contents. More...
 
class  InputTextMessageContent
 Represents the content of a text message to be sent as the result of an inline query. More...
 
class  InputVenueMessageContent
 Represents the content of a venue message to be sent as the result of an inline query. More...
 
class  Invoice
 This object contains basic information about an invoice. More...
 
class  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  KeyboardButtonPollType
 This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed. More...
 
class  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  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  LabeledPrice
 This object represents a portion of the price for goods or services. More...
 
class  Location
 This object represents a point on the map. More...
 
class  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  MaskPosition
 This object describes the position on faces where a mask should be placed by default. More...
 
class  MenuButton
 This abstract class is base of all bot menu buttons. More...
 
class  MenuButtonCommands
 Represents a menu button, which opens the bot's list of commands. More...
 
class  MenuButtonDefault
 Describes that no specific value for the menu button was set. More...
 
class  MenuButtonWebApp
 Represents a menu button, which launches a Web App. More...
 
class  Message
 This object represents a message. More...
 
class  MessageAutoDeleteTimerChanged
 This object represents a service message about a change in auto-delete timer settings. More...
 
class  MessageEntity
 This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc. More...
 
class  MessageId
 This object represents a unique message identifier. More...
 
class  OrderInfo
 This object represents information about an order. More...
 
class  PassportData
 Contains information about Telegram Passport data shared with the bot by the user. More...
 
class  PassportElementError
 This abstract class is base of all passport element errors. More...
 
class  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  PassportElementErrorFile
 Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes. More...
 
class  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  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  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  PassportElementErrorSelfie
 Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes. More...
 
class  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  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  PassportElementErrorUnspecified
 Represents an issue in an unspecified place. The error is considered resolved when new data is added. More...
 
class  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  PhotoSize
 This object represents one size of a photo or a file / sticker thumbnail. More...
 
class  Poll
 This object contains information about a poll. More...
 
class  PollAnswer
 This object represents an answer of a user in a non-anonymous poll. More...
 
class  PollOption
 
class  PreCheckoutQuery
 This object contains information about an incoming pre-checkout query. More...
 
class  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  ReplyKeyboardMarkup
 This object represents a custom keyboard with reply options (see https://core.telegram.org/bots/features#keyboards for details and examples). More...
 
class  ReplyKeyboardRemove
 Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. More...
 
class  ResponseParameters
 Contains information about why a request was unsuccessfull. More...
 
class  SentWebAppMessage
 Contains information about an inline message sent by a Web App on behalf of a user. More...
 
class  ShippingAddress
 This object represents a shipping address. More...
 
class  ShippingOption
 This object represents one shipping option. More...
 
class  ShippingQuery
 This object contains information about an incoming shipping query. More...
 
class  Sticker
 This object represents a sticker. More...
 
class  StickerSet
 This object represents a sticker set. More...
 
class  SuccessfulPayment
 This object contains basic information about a successful payment. More...
 
class  TgException
 Exception type which is only thrown when Telegram refuses API request. More...
 
class  TgLongPoll
 This class handles long polling and updates parsing. More...
 
class  TgWebhookLocalServer
 This class setups HTTP server for receiving Telegram Update objects from unix socket. More...
 
class  TgWebhookServer
 
class  TgWebhookTcpServer
 
class  Update
 This object represents an incoming update. At most one of the optional parameters can be present in any given update. More...
 
class  Url
 This class parses a string with the url. More...
 
class  User
 This object represents a Telegram user or bot. More...
 
class  UserProfilePhotos
 This object represent a user's profile pictures. More...
 
class  UserShared
 This object contains information about the user whose identifier was shared with the bot using a KeyboardButtonRequestUser button. More...
 
class  Venue
 This object represents a venue. More...
 
class  Video
 This object represents a video file. More...
 
class  VideoChatEnded
 This object represents a service message about a video chat ended in the chat. More...
 
class  VideoChatParticipantsInvited
 This object represents a service message about new members invited to a video chat. More...
 
class  VideoChatScheduled
 This object represents a service message about a video chat scheduled in the chat. More...
 
class  VideoChatStarted
 This object represents a service message about a video chat started in the chat. Currently holds no information. More...
 
class  VideoNote
 This object represents a video message. More...
 
class  Voice
 This object represents a voice note. More...
 
class  WebAppData
 Contains data sent from a Web App to the bot. More...
 
class  WebAppInfo
 Contains information about a Web App. More...
 
class  WebhookInfo
 Contains information about the current status of a webhook. More...
 
class  WriteAccessAllowed
 This object represents a service message about a user allowing a bot added to the attachment menu to write messages. More...