NFileTools | |
NStringTools | |
►NTgBot | |
CAnimation | This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) |
CApi | This class executes telegram api methods. Telegram docs: https://core.telegram.org/bots/api#available-methods |
CAudio | This object represents an audio file to be treated as music by the Telegram clients |
CBirthdate | |
CBoostHttpOnlySslClient | This class makes http requests via boost::asio |
CBot | This object holds other objects specific for this bot instance |
CBotCommand | This object represents a bot command |
CBotCommandScope | This abstract class is base of all bot command scopes |
CBotCommandScopeAllChatAdministrators | Represents the scope of bot commands, covering all group and supergroup chat administrators |
CBotCommandScopeAllGroupChats | Represents the scope of bot commands, covering all group and supergroup chats |
CBotCommandScopeAllPrivateChats | Represents the scope of bot commands, covering all private chats |
CBotCommandScopeChat | Represents the scope of bot commands, covering a specific chat |
CBotCommandScopeChatAdministrators | Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat |
CBotCommandScopeChatMember | Represents the scope of bot commands, covering a specific member of a group or supergroup chat |
CBotCommandScopeDefault | Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user |
CBotDescription | This object represents the bot's description |
CBotName | This object represents the bot's name |
CBotShortDescription | This object represents the bot's short description |
CBusinessConnection | Describes the connection of the bot with a business account |
CBusinessIntro | |
CBusinessLocation | |
CBusinessMessagesDeleted | This object is received when messages are deleted from a connected business account |
CBusinessOpeningHours | |
CBusinessOpeningHoursInterval | |
CCallbackGame | A placeholder, currently holds no information. Use BotFather to set up your game |
CCallbackQuery | This object represents an incoming callback query from a callback button in an inline keyboard |
CChat | This object represents a chat |
CChatAdministratorRights | Represents the rights of an administrator in a chat |
CChatBoost | This object contains information about a chat boost |
CChatBoostAdded | This object represents a service message about a user boosting a chat |
CChatBoostRemoved | This object represents a boost removed from a chat |
CChatBoostSource | This object describes the source of a chat boost |
CChatBoostSourceGiftCode | The boost was obtained by the creation of Telegram Premium gift codes to boost a chat |
CChatBoostSourceGiveaway | The boost was obtained by the creation of a Telegram Premium giveaway |
CChatBoostSourcePremium | The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user |
CChatBoostUpdated | This object represents a boost added to a chat or changed |
CChatInviteLink | Represents an invite link for a chat |
CChatJoinRequest | Represents a join request sent to a chat |
CChatLocation | Represents a location to which a chat is connected |
CChatMember | This abstract class is base of all chat members |
CChatMemberAdministrator | Represents a chat member that has some additional privileges |
CChatMemberBanned | Represents a chat member that was banned in the chat and can't return to the chat or view chat messages |
CChatMemberLeft | Represents a chat member that isn't currently a member of the chat, but may join it themselves |
CChatMemberMember | Represents a chat member that has no additional privileges or restrictions |
CChatMemberOwner | Represents a chat member that owns the chat and has all administrator privileges |
CChatMemberRestricted | Represents a chat member that is under certain restrictions in the chat |
CChatMemberUpdated | This object represents changes in the status of a chat member |
CChatPermissions | Describes actions that a non-administrator user is allowed to take in a chat |
CChatPhoto | This object represents a chat photo |
CChatShared | This object contains information about a chat that was shared with the bot using a KeyboardButtonRequestChat button |
CChosenInlineResult | This object represents a result of an inline query that was chosen by the user and sent to their chat partner |
CContact | This object represents a phone contact |
CCurlHttpClient | This class makes http requests via libcurl |
CDice | This object represents an animated emoji that displays a random value |
CDocument | This object represents a general file (as opposed to photos, voice messages and audio files) |
CEncryptedCredentials | 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 |
CEncryptedPassportElement | Describes documents or other Telegram Passport elements shared with the bot by the user |
CEventBroadcaster | This class holds all event listeners |
CEventHandler | |
CExternalReplyInfo | This object contains information about a message that is being replied to, which may come from another chat or forum topic |
CFile | 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 |
CForceReply | 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') |
CForumTopic | This object represents a forum topic |
CForumTopicClosed | This object represents a service message about a forum topic closed in the chat |
CForumTopicCreated | This object represents a service message about a new forum topic created in the chat |
CForumTopicEdited | This object represents a service message about an edited forum topic |
CForumTopicReopened | This object represents a service message about a forum topic reopened in the chat |
CGame | This object represents a game |
CGameHighScore | This object represents one row of the high scores table for a game |
CGeneralForumTopicHidden | This object represents a service message about General forum topic hidden in the chat |
CGeneralForumTopicUnhidden | This object represents a service message about General forum topic unhidden in the chat |
CGenericReply | This abstract class is base of all keyboard related events |
CGiveaway | This object represents a message about a scheduled giveaway |
CGiveawayCompleted | This object represents a service message about the completion of a giveaway without public winners |
CGiveawayCreated | This object represents a service message about the creation of a scheduled giveaway |
CGiveawayWinners | This object represents a message about the completion of a giveaway with public winners |
CHttpClient | This class makes http requests |
CHttpParser | |
CHttpReqArg | This class represents argument in POST http requests |
►CHttpServer | This class handles HTTP requests from the Internet |
CConnection | |
CInaccessibleMessage | This object describes a message that was deleted or is otherwise inaccessible to the bot |
CInlineKeyboardButton | This object represents one button of an inline keyboard |
CInlineKeyboardMarkup | This object represents an inline keyboard that appears right next to the message it belongs to |
CInlineQuery | This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results |
CInlineQueryResult | This object represents one result of an inline query |
CInlineQueryResultArticle | Represents a link to an article of web page |
CInlineQueryResultAudio | Represents a link to an MP3 audio file |
CInlineQueryResultCachedAudio | Represents a link to an MP3 audio file stored on the Telegram servers |
CInlineQueryResultCachedDocument | Represents a link to a file stored on the Telegram servers |
CInlineQueryResultCachedGif | 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 |
CInlineQueryResultCachedMpeg4Gif | 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 |
CInlineQueryResultCachedPhoto | 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 |
CInlineQueryResultCachedSticker | Represents a link to a sticker stored on the Telegram servers |
CInlineQueryResultCachedVideo | 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 |
CInlineQueryResultCachedVoice | Represents a link to a voice message stored on the Telegram servers |
CInlineQueryResultContact | Represents a contact with a phone number |
CInlineQueryResultDocument | Represents a link to a file |
CInlineQueryResultGame | Represents a Game |
CInlineQueryResultGif | 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 |
CInlineQueryResultLocation | Represents a location on a map |
CInlineQueryResultMpeg4Gif | 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 |
CInlineQueryResultPhoto | 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 |
CInlineQueryResultsButton | This object represents a button to be shown above inline query results |
CInlineQueryResultVenue | Represents a venue |
CInlineQueryResultVideo | 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 |
CInlineQueryResultVoice | Represents a link to a voice recording in an .OGG container encoded with OPUS |
CInputContactMessageContent | Represents the content of a contact message to be sent as the result of an inline query |
CInputFile | This object represents the contents of a file to be uploaded |
CInputInvoiceMessageContent | Represents the content of an invoice message to be sent as the result of an inline query |
CInputLocationMessageContent | Represents the content of a location message to be sent as the result of an inline query |
CInputMedia | This abstract class is base of all input media |
CInputMediaAnimation | Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent |
CInputMediaAudio | Represents an audio file to be treated as music to be sent |
CInputMediaDocument | Represents a general file to be sent |
CInputMediaPhoto | Represents a photo to be sent |
CInputMediaVideo | Represents a video to be sent |
CInputMessageContent | This abstract class is base of all message contents |
CInputSticker | This object describes a sticker to be added to a sticker set |
CInputTextMessageContent | Represents the content of a text message to be sent as the result of an inline query |
CInputVenueMessageContent | Represents the content of a venue message to be sent as the result of an inline query |
CInvoice | This object contains basic information about an invoice |
CKeyboardButton | This object represents one button of the reply keyboard |
CKeyboardButtonPollType | This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed |
CKeyboardButtonRequestChat | This object defines the criteria used to request a suitable chat |
CKeyboardButtonRequestUsers | This object defines the criteria used to request suitable users |
CLabeledPrice | This object represents a portion of the price for goods or services |
CLinkPreviewOptions | Describes the options used for link preview generation |
CLocation | This object represents a point on the map |
CLoginUrl | 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 |
CMaskPosition | This object describes the position on faces where a mask should be placed by default |
CMenuButton | This abstract class is base of all bot menu buttons |
CMenuButtonCommands | Represents a menu button, which opens the bot's list of commands |
CMenuButtonDefault | Describes that no specific value for the menu button was set |
CMenuButtonWebApp | Represents a menu button, which launches a Web App |
CMessage | This object represents a message |
CMessageAutoDeleteTimerChanged | This object represents a service message about a change in auto-delete timer settings |
CMessageEntity | This object represents one special entity in a text message |
CMessageId | This object represents a unique message identifier |
CMessageOrigin | This object describes the origin of a message |
CMessageOriginChannel | The message was originally sent to a channel chat |
CMessageOriginChat | The message was originally sent on behalf of a chat to a group chat |
CMessageOriginHiddenUser | The message was originally sent by an unknown user |
CMessageOriginUser | The message was originally sent by a known user |
CMessageReactionCountUpdated | This object represents reaction changes on a message with anonymous reactions |
CMessageReactionUpdated | This object represents a change of a reaction on a message performed by a user |
COrderInfo | This object represents information about an order |
CPassportData | Contains information about Telegram Passport data shared with the bot by the user |
CPassportElementError | This abstract class is base of all passport element errors |
CPassportElementErrorDataField | 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 |
CPassportElementErrorFile | Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes |
CPassportElementErrorFiles | Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes |
CPassportElementErrorFrontSide | 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 |
CPassportElementErrorReverseSide | 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 |
CPassportElementErrorSelfie | Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes |
CPassportElementErrorTranslationFile | Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes |
CPassportElementErrorTranslationFiles | Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change |
CPassportElementErrorUnspecified | Represents an issue in an unspecified place. The error is considered resolved when new data is added |
CPassportFile | 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 |
CPhotoSize | This object represents one size of a photo or a file / sticker thumbnail |
CPoll | This object contains information about a poll |
CPollAnswer | This object represents an answer of a user in a non-anonymous poll |
CPollOption | |
CPreCheckoutQuery | This object contains information about an incoming pre-checkout query |
CProximityAlertTriggered | This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user |
CReactionCount | Represents a reaction added to a message along with the number of times it was added |
CReactionType | This object describes the type of a reaction |
CReactionTypeCustomEmoji | The reaction is based on a custom emoji |
CReactionTypeEmoji | The reaction is based on an emoji |
CReplyKeyboardMarkup | This object represents a custom keyboard with reply options (see Introduction to bots for details and examples) |
CReplyKeyboardRemove | Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard |
CReplyParameters | Describes reply parameters for the message that is being sent |
CResponseParameters | Contains information about why a request was unsuccessfull |
CSentWebAppMessage | Contains information about an inline message sent by a Web App on behalf of a user |
CSharedUser | This object contains information about a user that was shared with the bot using a KeyboardButtonRequestUser button |
CShippingAddress | This object represents a shipping address |
CShippingOption | This object represents one shipping option |
CShippingQuery | This object contains information about an incoming shipping query |
CSticker | This object represents a sticker |
CStickerSet | This object represents a sticker set |
CStory | This object represents a story |
CSuccessfulPayment | This object contains basic information about a successful payment |
CSwitchInlineQueryChosenChat | This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query |
CTextQuote | This object contains information about the quoted part of a message that is replied to by the given message |
CTgException | Exception type which is only thrown when Telegram refuses API request |
CTgLongPoll | This class handles long polling and updates parsing |
CTgWebhookLocalServer | This class setups HTTP server for receiving Telegram Update objects from unix socket |
CTgWebhookServer | |
CTgWebhookTcpServer | |
CUpdate | This object represents an incoming update |
CUrl | This class parses a string with the url |
CUser | This object represents a Telegram user or bot |
CUserChatBoosts | This object represents a list of boosts added to a chat by a user |
CUserProfilePhotos | This object represent a user's profile pictures |
CUsersShared | This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button |
CVenue | This object represents a venue |
CVideo | This object represents a video file |
CVideoChatEnded | This object represents a service message about a video chat ended in the chat |
CVideoChatParticipantsInvited | This object represents a service message about new members invited to a video chat |
CVideoChatScheduled | This object represents a service message about a video chat scheduled in the chat |
CVideoChatStarted | This object represents a service message about a video chat started in the chat. Currently holds no information |
CVideoNote | This object represents a video message |
CVoice | This object represents a voice note |
CWebAppData | Contains data sent from a Web App to the bot |
CWebAppInfo | Describes a Web App |
CWebhookInfo | Contains information about the current status of a webhook |
CWriteAccessAllowed | This 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 |