tgbotxx 1.1.9.2
Telegram Bot C++ Library
Loading...
Searching...
No Matches
tgbotxx::Api Member List

This is the complete list of members for tgbotxx::Api, including all inherited members.

addStickerToSet(std::int64_t userId, const std::string &name, const Ptr< InputSticker > &sticker) consttgbotxx::Api
answerCallbackQuery(const std::string &callbackQueryId, const std::string &text="", bool showAlert=false, const std::string &url="", std::time_t cacheTime=0) consttgbotxx::Api
answerInlineQuery(const std::string &inlineQueryId, const std::vector< Ptr< InlineQueryResult > > &results, std::int32_t cacheTime=300, bool isPersonal=false, const std::string &nextOffset="", const Ptr< InlineQueryResultsButton > &button=nullptr) consttgbotxx::Api
answerPreCheckoutQuery(const std::string &preCheckoutQueryId, bool ok, const std::string &errorMessage="") consttgbotxx::Api
answerShippingQuery(const std::string &shippingQueryId, bool ok, const std::vector< Ptr< ShippingOption > > &shippingOptions=std::vector< Ptr< ShippingOption > >(), const std::string &errorMessage="") consttgbotxx::Api
answerWebAppQuery(const std::string &webAppQueryId, const Ptr< InlineQueryResult > &result) consttgbotxx::Api
Api(const std::string &token)tgbotxx::Apiexplicit
approveChatJoinRequest(const std::variant< std::int64_t, std::string > &chatId, std::int64_t userId) consttgbotxx::Apirelated
approveSuggestedPost(std::int64_t chatId, std::int32_t messageId, std::time_t sendDate=0) consttgbotxx::Api
banChatMember(const std::variant< std::int64_t, std::string > &chatId, std::int64_t userId, std::time_t untilDate=0, bool revokeMessages=false) consttgbotxx::Api
banChatSenderChat(const std::variant< std::int64_t, std::string > &chatId, std::int64_t senderChatId) consttgbotxx::Apirelated
Bottgbotxx::Apifriend
close() consttgbotxx::Api
closeForumTopic(const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageThreadId) consttgbotxx::Apirelated
closeGeneralForumTopic(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
convertGiftToStars(const std::string &businessConnectionId, const std::string &ownedGiftId) consttgbotxx::Api
copyMessage(const std::variant< std::int64_t, std::string > &chatId, const std::variant< std::int64_t, std::string > &fromChatId, std::int32_t messageId, std::int32_t messageThreadId=0, const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, std::int32_t directMessagesTopicId=0, std::time_t videoStartTimestamp=0, bool showCaptionAboveMedia=false, bool allowPaidBroadcast=false, const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
copyMessages(const std::variant< std::int64_t, std::string > &chatId, const std::variant< std::int64_t, std::string > &fromChatId, const std::vector< std::int32_t > &messageIds, std::int32_t messageThreadId=0, std::int32_t directMessagesTopicId=0, bool disableNotification=false, bool protectContent=false, bool removeCaption=false) consttgbotxx::Api
createChatInviteLink(const std::variant< std::int64_t, std::string > &chatId, const std::string &name="", std::time_t expireDate=0, std::int32_t memberLimit=0, bool createsJoinRequest=false) consttgbotxx::Apirelated
createChatSubscriptionInviteLink(const std::variant< std::int64_t, std::string > &chatId, std::time_t subscriptionPeriod, std::int32_t subscriptionPrice, const std::string &name="") consttgbotxx::Apirelated
createForumTopic(const std::variant< std::int64_t, std::string > &chatId, const std::string &name, std::int32_t iconColor=0x000000, const std::string &iconCustomEmojiId="") consttgbotxx::Apirelated
createInvoiceLink(const std::string &title, const std::string &description, const std::string &payload, const std::string &currency, const std::vector< Ptr< LabeledPrice > > &prices, const std::string &businessConnectionId="", const std::string &providerToken="", std::time_t subscriptionPeriod=0, std::int32_t maxTipAmount=0, const std::vector< std::int32_t > &suggestedTipAmounts=std::vector< std::int32_t >(), const std::string &providerData="", const std::string &photoUrl="", std::int32_t photoSize=0, std::int32_t photoWidth=0, std::int32_t photoHeight=0, bool needName=false, bool needPhoneNumber=false, bool needEmail=false, bool needShippingAddress=false, bool sendPhoneNumberToProvider=false, bool sendEmailToProvider=false, bool isFlexible=false) consttgbotxx::Api
createNewStickerSet(std::int64_t userId, const std::string &name, const std::string &title, const std::vector< Ptr< InputSticker > > &stickers, const std::string &stickerType="regular", bool needsRepainting=false) consttgbotxx::Api
declineChatJoinRequest(const std::variant< std::int64_t, std::string > &chatId, std::int64_t userId) consttgbotxx::Apirelated
declineSuggestedPost(std::int64_t chatId, std::int32_t messageId, const std::string &comment="") consttgbotxx::Api
deleteBusinessMessages(const std::string &businessConnectionId, const std::vector< std::int32_t > &messageIds) consttgbotxx::Api
deleteChatPhoto(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Apirelated
deleteChatStickerSet(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Apirelated
deleteForumTopic(const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageThreadId) consttgbotxx::Apirelated
deleteMessage(const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageId) consttgbotxx::Api
deleteMessages(const std::variant< std::int64_t, std::string > &chatId, const std::vector< std::int32_t > &messageIds) consttgbotxx::Api
deleteMyCommands(const Ptr< BotCommandScope > &scope=nullptr, const std::string &languageCode="") consttgbotxx::Api
deleteStickerFromSet(const std::string &sticker) consttgbotxx::Api
deleteStickerSet(const std::string &name) consttgbotxx::Api
deleteStory(const std::string &businessConnectionId, std::int32_t storyId) consttgbotxx::Api
deleteWebhook(bool dropPendingUpdates=false) consttgbotxx::Api
downloadFile(const std::string &filePath, const std::function< bool(cpr::cpr_off_t downloadTotal, cpr::cpr_off_t downloadNow)> &progressCallback=nullptr) consttgbotxx::Api
editChatInviteLink(const std::variant< std::int64_t, std::string > &chatId, const std::string &inviteLink, const std::string &name="", std::time_t expireDate=0, std::int32_t memberLimit=0, bool createsJoinRequest=false) consttgbotxx::Apirelated
editChatSubscriptionInviteLink(const std::variant< std::int64_t, std::string > &chatId, const std::string &inviteLink, const std::string &name="") consttgbotxx::Apirelated
editForumTopic(const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageThreadId, const std::string &name, const std::optional< std::string > &iconCustomEmojiId=std::nullopt) consttgbotxx::Apirelated
editGeneralForumTopic(const std::variant< std::int64_t, std::string > &chatId, const std::string &name) consttgbotxx::Api
editMessageCaption(const std::variant< std::int64_t, std::string > &chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="", const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", bool showCaptionAboveMedia=false) consttgbotxx::Api
editMessageChecklist(std::int64_t chatId, std::int32_t messageId, const Ptr< InputChecklist > &checklist, const std::string &businessConnectionId, const Ptr< IReplyMarkup > &replyMarkup=nullptr) consttgbotxx::Api
editMessageLiveLocation(float latitude, float longitude, const std::variant< std::int64_t, std::string > &chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="", std::int32_t livePeriod=0, float horizontalAccuracy=0.0f, std::int32_t heading=0, std::int32_t proximityAlertRadius=0, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="") consttgbotxx::Api
editMessageMedia(const Ptr< InputMedia > &media, const std::variant< std::int64_t, std::string > &chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="", const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="") consttgbotxx::Api
editMessageReplyMarkup(const std::variant< std::int64_t, std::string > &chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="", const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="") consttgbotxx::Api
editMessageText(const std::string &text, const std::variant< std::int64_t, std::string > &chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &entities=std::vector< Ptr< MessageEntity > >(), const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", const Ptr< LinkPreviewOptions > &linkPreviewOptions=nullptr) consttgbotxx::Api
editStory(const std::string &businessConnectionId, std::int32_t storyId, const Ptr< InputStoryContent > &content, const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), const std::vector< Ptr< StoryArea > > &areas=std::vector< Ptr< StoryArea > >()) consttgbotxx::Api
editUserStarSubscription(std::int64_t userId, const std::string &telegramPaymentChargeId, bool isCancelled) consttgbotxx::Api
exportChatInviteLink(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
forwardMessage(const std::variant< std::int64_t, std::string > &chatId, const std::variant< std::int64_t, std::string > &fromChatId, std::int32_t messageId, std::int32_t messageThreadId=0, bool disableNotification=false, bool protectContent=false, std::int32_t directMessagesTopicId=0, std::time_t videoStartTimestamp=0, const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr) consttgbotxx::Api
forwardMessages(const std::variant< std::int64_t, std::string > &chatId, const std::variant< std::int64_t, std::string > &fromChatId, const std::vector< std::int32_t > &messageIds, std::int32_t messageThreadId=0, bool disableNotification=false, bool protectContent=false, std::int32_t directMessagesTopicId=0) consttgbotxx::Api
getAllowedUpdates() const noexcepttgbotxx::Api
getAvailableGifts() consttgbotxx::Api
getBusinessAccountGifts(const std::string &businessConnectionId, bool excludeUnsaved=false, bool excludeSaved=false, bool excludeUnlimited=false, bool excludeLimited=false, bool excludeUnique=false, bool sortByPrice=false, const std::string &offset="", std::int32_t limit=100) consttgbotxx::Api
getBusinessAccountStarBalance(const std::string &businessConnectionId) consttgbotxx::Api
getCache() const noexcepttgbotxx::Api
getChat(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
getChatAdministrators(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
getChatMember(const std::variant< std::int64_t, std::string > &chatId, std::int64_t userId) consttgbotxx::Api
getChatMemberCount(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
getChatMenuButton(const std::variant< std::int64_t, std::string > &chatId=std::string{}) consttgbotxx::Api
getConnectTimeout() const noexcepttgbotxx::Api
getCustomEmojiStickers(const std::vector< std::string > &customEmojiIds) consttgbotxx::Api
getDownloadFilesTimeout() const noexcepttgbotxx::Api
getFile(const std::string &fileId) consttgbotxx::Api
getForumTopicIconStickers() consttgbotxx::Apirelated
getGameHighScores(std::int64_t userId, std::int64_t chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="") consttgbotxx::Api
getLongPollTimeout() const noexcepttgbotxx::Api
getMe() consttgbotxx::Api
getMyCommands(const Ptr< BotCommandScope > &scope=nullptr, const std::string &languageCode="") consttgbotxx::Api
getMyDefaultAdministratorRights(bool forChannels=false) consttgbotxx::Api
getMyDescription(const std::string &languageCode="") consttgbotxx::Api
getMyName(const std::string &languageCode="") consttgbotxx::Api
getMyShortDescription(const std::string &languageCode="") consttgbotxx::Api
getMyStarBalance() consttgbotxx::Api
getProxies() const noexcepttgbotxx::Api
getStarTransactions(std::int32_t offset=0, std::int32_t limit=100) consttgbotxx::Api
getStickerSet(const std::string &name) consttgbotxx::Api
getTimeout() const noexcepttgbotxx::Api
getUpdates(std::int32_t offset, std::int32_t limit=100) consttgbotxx::Api
getUploadFilesTimeout() const noexcepttgbotxx::Api
getUrl() const noexcepttgbotxx::Api
getUserChatBoosts(const std::variant< std::int64_t, std::string > &chatId, std::int64_t userId) consttgbotxx::Api
getUserProfilePhotos(std::int64_t userId, std::int32_t offset=0, std::int32_t limit=100) consttgbotxx::Api
getWebhookInfo() consttgbotxx::Api
giftPremiumSubscription(std::int64_t userId, std::int32_t monthCount, std::int32_t starCount, const std::string &text="", const std::string &textParseMode="", const std::vector< Ptr< MessageEntity > > &textEntities=std::vector< Ptr< MessageEntity > >()) consttgbotxx::Api
hideGeneralForumTopic(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
leaveChat(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
logOut() consttgbotxx::Api
pinChatMessage(const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageId, bool disableNotification=false, const std::string &businessConnectionId="") consttgbotxx::Apirelated
postStory(const std::string &businessConnectionId, const Ptr< InputStoryContent > &content, std::time_t activePeriod, const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), const std::vector< Ptr< StoryArea > > &areas=std::vector< Ptr< StoryArea > >(), bool postToChatPage=false, bool protectContent=false) consttgbotxx::Api
promoteChatMember(const std::variant< std::int64_t, std::string > &chatId, std::int64_t userId, bool isAnonymous=false, bool canManageChat=false, bool canDeleteMessages=false, bool canManageVideoChats=false, bool canRestrictMembers=false, bool canPromoteMembers=false, bool canChangeInfo=false, bool canInviteUsers=false, bool canPostMessages=false, bool canEditMessages=false, bool canPinMessages=false, bool canPostStories=false, bool canEditStories=false, bool canDeleteStories=false, bool canManageTopics=false, bool canManageDirectMessages=false) consttgbotxx::Api
readBusinessMessage(const std::string &businessConnectionId, const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageId) consttgbotxx::Api
refundStarPayment(std::int64_t userId, const std::string &telegramPaymentChargeId) consttgbotxx::Api
removeBusinessAccountProfilePhoto(const std::string &businessConnectionId, bool isPublic=false) consttgbotxx::Api
removeChatVerification(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
removeUserVerification(std::int64_t userId) consttgbotxx::Api
reopenForumTopic(const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageThreadId) consttgbotxx::Apirelated
reopenGeneralForumTopic(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
replaceStickerInSet(std::int64_t userId, const std::string &name, const std::string &oldSticker, const Ptr< InputSticker > &sticker) consttgbotxx::Api
restrictChatMember(const std::variant< std::int64_t, std::string > &chatId, std::int64_t userId, const Ptr< ChatPermissions > &permissions, bool useIndependentChatPermissions=false, std::time_t untilDate=0) consttgbotxx::Api
revokeChatInviteLink(const std::variant< std::int64_t, std::string > &chatId, const std::string &inviteLink) consttgbotxx::Apirelated
sendAnimation(const std::variant< std::int64_t, std::string > &chatId, const std::variant< cpr::File, std::string > &animation, std::int32_t messageThreadId=0, std::time_t duration=0, std::int32_t width=0, std::int32_t height=0, const std::optional< std::variant< cpr::File, std::string > > &thumbnail=std::nullopt, const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendAudio(const std::variant< std::int64_t, std::string > &chatId, const std::variant< cpr::File, std::string > &audio, std::int32_t messageThreadId=0, const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), std::time_t duration=0, const std::string &performer="", const std::string &title="", const std::optional< std::variant< cpr::File, std::string > > &thumbnail=std::nullopt, bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendChatAction(const std::variant< std::int64_t, std::string > &chatId, const std::string &action, std::int32_t messageThreadId=0, const std::string &businessConnectionId="") consttgbotxx::Api
sendChecklist(const std::variant< std::int64_t, std::string > &chatId, const std::string &businessConnectionId, const Ptr< InputChecklist > &checklist, bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &messageEffectId="", const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendContact(const std::variant< std::int64_t, std::string > &chatId, const std::string &phoneNumber, const std::string &firstName, const std::string &lastName="", const std::string &vcard="", std::int32_t messageThreadId=0, bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendDice(const std::variant< std::int64_t, std::string > &chatId, const std::string &emoji="🎲", std::int32_t messageThreadId=0, bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendDocument(const std::variant< std::int64_t, std::string > &chatId, const std::variant< cpr::File, std::string > &document, std::int32_t messageThreadId=0, const std::optional< std::variant< cpr::File, std::string > > &thumbnail=std::nullopt, const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool disableContentTypeDetection=false, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendGame(const std::variant< std::int64_t, std::string > &chatId, const std::string &gameShortName, std::int32_t messageThreadId=0, bool disableNotification=false, bool protectContent=false, const Ptr< ReplyParameters > &replyParameters=nullptr, const Ptr< IReplyMarkup > &replyMarkup=nullptr) consttgbotxx::Api
sendGift(const std::string &giftId, std::int64_t userId=0, const std::variant< std::int64_t, std::string > &chatId=0, bool payForUpgrade=false, const std::string &text="", const std::string &textParseMode="", const std::vector< Ptr< MessageEntity > > &textEntities=std::vector< Ptr< MessageEntity > >()) consttgbotxx::Api
sendInvoice(const std::variant< std::int64_t, std::string > &chatId, const std::string &title, const std::string &description, const std::string &payload, const std::string &currency, const std::vector< Ptr< LabeledPrice > > &prices, const std::string &providerToken="", std::int32_t messageThreadId=0, std::int32_t maxTipAmount=0, const std::vector< std::int32_t > &suggestedTipAmounts=std::vector< std::int32_t >(), const std::string &startParameter="", const std::string &providerData="", const std::string &photoUrl="", std::int32_t photoSize=0, std::int32_t photoWidth=0, std::int32_t photoHeight=0, bool needName=false, bool needPhoneNumber=false, bool needEmail=false, bool needShippingAddress=false, bool sendPhoneNumberToProvider=false, bool sendEmailToProvider=false, bool isFlexible=false, bool disableNotification=false, bool protectContent=false, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< IReplyMarkup > &replyMarkup=nullptr) consttgbotxx::Api
sendLocation(const std::variant< std::int64_t, std::string > &chatId, float latitude, float longitude, std::int32_t messageThreadId=0, float horizontalAccuracy=0.0f, std::int32_t livePeriod=0, std::int32_t heading=0, std::int32_t proximityAlertRadius=0, bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendMediaGroup(const std::variant< std::int64_t, std::string > &chatId, const std::vector< Ptr< InputMedia > > &media, std::int32_t messageThreadId=0, bool disableNotification=false, bool protectContent=false, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendMessage(const std::variant< std::int64_t, std::string > &chatId, const std::string &text, std::int32_t messageThreadId=0, const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &entities=std::vector< Ptr< MessageEntity > >(), bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, const Ptr< LinkPreviewOptions > &linkPreviewOptions=nullptr, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendPaidMedia(const std::variant< std::int64_t, std::string > &chatId, std::int32_t starCount, const std::vector< Ptr< InputPaidMedia > > &media, const std::string &payload="", std::int32_t messageThreadId=0, const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), bool showCaptionAboveMedia=false, bool disableNotification=false, bool protectContent=false, bool allowPaidBroadcast=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendPhoto(const std::variant< std::int64_t, std::string > &chatId, const std::variant< cpr::File, std::string > &photo, std::int32_t messageThreadId=0, const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool showCaptionAboveMedia=false, bool hasSpoiler=false, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendPoll(const std::variant< std::int64_t, std::string > &chatId, const std::string &question, const std::vector< Ptr< InputPollOption > > &options, std::int32_t messageThreadId=0, const std::string &questionParseMode="", const std::vector< Ptr< MessageEntity > > &questionEntities=std::vector< Ptr< MessageEntity > >(), bool isAnonymous=true, const std::string &type="regular", bool allowsMultipleAnswers=false, std::int32_t correctOptionId=-1, const std::string &explanation="", const std::string &explanationParseMode="", const std::vector< Ptr< MessageEntity > > &explanationEntities=std::vector< Ptr< MessageEntity > >(), std::time_t openPeriod=0, std::time_t closeDate=0, bool isClosed=false, bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendSticker(const std::variant< std::int64_t, std::string > &chatId, const std::variant< cpr::File, std::string > &sticker, std::int32_t messageThreadId=0, const std::string &emoji="", bool disableNotification=false, bool protectContent=false, const Ptr< ReplyParameters > &replyParameters=nullptr, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, const Ptr< LinkPreviewOptions > &linkPreviewOptions=nullptr, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr) consttgbotxx::Api
sendVenue(const std::variant< std::int64_t, std::string > &chatId, float latitude, float longitude, const std::string &title, const std::string &address, std::int32_t messageThreadId=0, const std::string &foursquareId="", const std::string &foursquareType="", const std::string &googlePlaceId="", const std::string &googlePlaceType="", bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendVideo(const std::variant< std::int64_t, std::string > &chatId, const std::variant< cpr::File, std::string > &video, std::int32_t messageThreadId=0, std::time_t duration=0, std::int32_t width=0, std::int32_t height=0, const std::optional< std::variant< cpr::File, std::string > > &thumbnail=std::nullopt, const std::optional< std::variant< cpr::File, std::string > > &cover=std::nullopt, std::time_t startTimestamp=0, const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), bool showCaptionAboveMedia=false, bool hasSpoiler=false, bool supportsStreaming=false, bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendVideoNote(const std::variant< std::int64_t, std::string > &chatId, const std::variant< cpr::File, std::string > &videoNote, std::int32_t messageThreadId=0, std::time_t duration=0, std::int32_t length=0, const std::optional< std::variant< cpr::File, std::string > > &thumbnail=std::nullopt, bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
sendVoice(const std::variant< std::int64_t, std::string > &chatId, const std::variant< cpr::File, std::string > &voice, std::int32_t messageThreadId=0, const std::string &caption="", const std::string &parseMode="", const std::vector< Ptr< MessageEntity > > &captionEntities=std::vector< Ptr< MessageEntity > >(), std::time_t duration=0, bool disableNotification=false, bool protectContent=false, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="", std::int32_t directMessagesTopicId=0, bool allowPaidBroadcast=false, const std::string &messageEffectId="", const Ptr< SuggestedPostParameters > &suggestedPostParameters=nullptr, const Ptr< ReplyParameters > &replyParameters=nullptr) consttgbotxx::Api
setAllowedUpdates(const std::vector< std::string > &allowedUpdates) noexcepttgbotxx::Api
setBusinessAccountBio(const std::string &businessConnectionId, const std::string &bio="") consttgbotxx::Api
setBusinessAccountGiftSettings(const std::string &businessConnectionId, bool showGiftButton, const Ptr< AcceptedGiftTypes > &acceptedGiftTypes) consttgbotxx::Api
setBusinessAccountName(const std::string &businessConnectionId, const std::string &firstName, const std::string &lastName="") consttgbotxx::Api
setBusinessAccountProfilePhoto(const std::string &businessConnectionId, const Ptr< InputProfilePhoto > &photo, bool isPublic=false) consttgbotxx::Api
setBusinessAccountUsername(const std::string &businessConnectionId, const std::string &username="") consttgbotxx::Api
setChatAdministratorCustomTitle(const std::variant< std::int64_t, std::string > &chatId, std::int64_t userId, const std::string &customTitle) consttgbotxx::Api
setChatDescription(const std::variant< std::int64_t, std::string > &chatId, const std::string &description="") consttgbotxx::Api
setChatMenuButton(const std::variant< std::int64_t, std::string > &chatId=std::string{}, const Ptr< MenuButton > &menuButton=nullptr) consttgbotxx::Api
setChatPermissions(const std::variant< std::int64_t, std::string > &chatId, const Ptr< ChatPermissions > &permissions, bool useIndependentChatPermissions=false) consttgbotxx::Api
setChatPhoto(const std::variant< std::int64_t, std::string > &chatId, const cpr::File &photo) consttgbotxx::Apirelated
setChatStickerSet(const std::variant< std::int64_t, std::string > &chatId, const std::string &stickerSetName) consttgbotxx::Apirelated
setChatTitle(const std::variant< std::int64_t, std::string > &chatId, const std::string &title) consttgbotxx::Api
setConnectTimeout(const cpr::ConnectTimeout &timeout) noexcepttgbotxx::Api
setCustomEmojiStickerSetThumbnail(const std::string &name, const std::optional< std::string > &customEmojiId=std::nullopt) consttgbotxx::Api
setDownloadFilesTimeout(const cpr::Timeout &timeout) noexcepttgbotxx::Api
setGameScore(std::int64_t userId, std::int32_t score, bool force=false, bool disableEditMessage=false, std::int64_t chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="") consttgbotxx::Api
setLongPollTimeout(const cpr::Timeout &longPollTimeout)tgbotxx::Api
setMessageReaction(const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageId, const std::vector< Ptr< ReactionType > > &reaction=std::vector< Ptr< ReactionType > >(), bool isBig=false) consttgbotxx::Api
setMyCommands(const std::vector< Ptr< BotCommand > > &commands, const Ptr< BotCommandScope > &scope=nullptr, const std::string &languageCode="") consttgbotxx::Api
setMyDefaultAdministratorRights(const Ptr< ChatAdministratorRights > &rights=nullptr, bool forChannels=false) consttgbotxx::Api
setMyDescription(const std::string &description="", const std::string &languageCode="") consttgbotxx::Api
setMyName(const std::string &name="", const std::string &languageCode="") consttgbotxx::Api
setMyShortDescription(const std::string &shortDescription="", const std::string &languageCode="") consttgbotxx::Api
setPassportDataErrors(std::int64_t userId, const std::vector< Ptr< PassportElementError > > &errors) consttgbotxx::Api
setProxies(const cpr::Proxies &proxies)tgbotxx::Api
setStickerEmojiList(const std::string &sticker, const std::vector< std::string > &emojiList) consttgbotxx::Api
setStickerKeywords(const std::string &sticker, const std::vector< std::string > &keywords=std::vector< std::string >()) consttgbotxx::Api
setStickerMaskPosition(const std::string &sticker, const Ptr< MaskPosition > &maskPosition=nullptr) consttgbotxx::Api
setStickerPositionInSet(const std::string &sticker, std::int32_t position) consttgbotxx::Api
setStickerSetThumbnail(const std::string &name, std::int64_t userId, const std::string &format, const std::optional< std::variant< cpr::File, std::string > > &thumbnail=std::nullopt) consttgbotxx::Api
setStickerSetTitle(const std::string &name, const std::string &title) consttgbotxx::Api
setTimeout(const cpr::Timeout &timeout)tgbotxx::Api
setUploadFilesTimeout(const cpr::Timeout &timeout) noexcepttgbotxx::Api
setUrl(const std::string &url) noexcepttgbotxx::Api
setWebhook(const std::string &url, const std::optional< cpr::File > &certificate=std::nullopt, const std::string &ipAddress="", std::int32_t maxConnections=40, const std::vector< std::string > &allowedUpdates=std::vector< std::string >(), bool dropPendingUpdates=false, const std::string &secretToken="") consttgbotxx::Api
stopMessageLiveLocation(const std::variant< std::int64_t, std::string > &chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="", const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="") consttgbotxx::Api
stopPoll(const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageId, const Ptr< IReplyMarkup > &replyMarkup=nullptr, const std::string &businessConnectionId="") consttgbotxx::Api
transferBusinessAccountStars(const std::string &businessConnectionId, std::int32_t starCount) consttgbotxx::Api
transferGift(const std::string &businessConnectionId, const std::string &ownedGiftId, std::int64_t newOwnerChatId, std::int32_t starCount=-1) consttgbotxx::Api
unbanChatMember(const std::variant< std::int64_t, std::string > &chatId, std::int64_t userId, bool onlyIfBanned=false) consttgbotxx::Api
unbanChatSenderChat(const std::variant< std::int64_t, std::string > &chatId, std::int64_t senderChatId) consttgbotxx::Apirelated
unhideGeneralForumTopic(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
unpinAllChatMessages(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Apirelated
unpinAllForumTopicMessages(const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageThreadId) consttgbotxx::Apirelated
unpinAllGeneralForumTopicMessages(const std::variant< std::int64_t, std::string > &chatId) consttgbotxx::Api
unpinChatMessage(const std::variant< std::int64_t, std::string > &chatId, std::int32_t messageId=0, const std::string &businessConnectionId="") consttgbotxx::Apirelated
upgradeGift(const std::string &businessConnectionId, const std::string &ownedGiftId, bool keepOriginalDetails=false, std::int32_t starCount=-1) consttgbotxx::Api
uploadStickerFile(std::int64_t userId, const cpr::File &sticker, const std::string &stickerFormat) consttgbotxx::Api
verifyChat(const std::variant< std::int64_t, std::string > &chatId, const std::string &customDescription="") consttgbotxx::Api
verifyUser(std::int64_t userId, const std::string &customDescription="") consttgbotxx::Api