tgbot-cpp
Loading...
Searching...
No Matches
TgBot::Api Member List

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

_httpClientTgBot::Api
_tgTypeParserTgBot::Apiprotected
_tokenTgBot::Apiprotected
_urlTgBot::Apiprotected
addStickerToSet(std::int64_t userId, const std::string &name, const std::string &emojis, MaskPosition::Ptr maskPosition=nullptr, boost::variant< InputFile::Ptr, std::string > pngSticker="", InputFile::Ptr tgsSticker=nullptr, InputFile::Ptr webmSticker=nullptr) constTgBot::Api
answerCallbackQuery(const std::string &callbackQueryId, const std::string &text="", bool showAlert=false, const std::string &url="", std::int32_t cacheTime=0) constTgBot::Api
answerInlineQuery(const std::string &inlineQueryId, const std::vector< InlineQueryResult::Ptr > &results, std::int32_t cacheTime=300, bool isPersonal=false, const std::string &nextOffset="", const std::string &switchPmText="", const std::string &switchPmParameter="") constTgBot::Api
answerPreCheckoutQuery(const std::string &preCheckoutQueryId, bool ok, const std::string &errorMessage="") constTgBot::Api
answerShippingQuery(const std::string &shippingQueryId, bool ok, const std::vector< ShippingOption::Ptr > &shippingOptions=std::vector< ShippingOption::Ptr >(), const std::string &errorMessage="") constTgBot::Api
answerWebAppQuery(const std::string &webAppQueryId, InlineQueryResult::Ptr result) constTgBot::Api
Api(std::string token, const HttpClient &httpClient, const std::string &url)TgBot::Api
approveChatJoinRequest(boost::variant< std::int64_t, std::string > chatId, std::int64_t userId) constTgBot::Api
banChatMember(boost::variant< std::int64_t, std::string > chatId, std::int64_t userId, std::int32_t untilDate=0, bool revokeMessages=true) constTgBot::Api
banChatSenderChat(boost::variant< std::int64_t, std::string > chatId, std::int64_t senderChatId) constTgBot::Api
blockedByUser(std::int64_t chatId) constTgBot::Api
BotTgBot::Apifriend
close() constTgBot::Api
closeForumTopic(boost::variant< std::int64_t, std::string > chatId, std::int32_t messageThreadId) constTgBot::Api
closeGeneralForumTopic(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
copyMessage(boost::variant< std::int64_t, std::string > chatId, boost::variant< std::int64_t, std::string > fromChatId, std::int32_t messageId, const std::string &caption="", const std::string &parseMode="", const std::vector< MessageEntity::Ptr > &captionEntities=std::vector< MessageEntity::Ptr >(), bool disableNotification=false, std::int32_t replyToMessageId=0, bool allowSendingWithoutReply=false, GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
createChatInviteLink(boost::variant< std::int64_t, std::string > chatId, std::int32_t expireDate=0, std::int32_t memberLimit=0, const std::string &name="", bool createsJoinRequest=false) constTgBot::Api
createForumTopic(boost::variant< std::int64_t, std::string > chatId, const std::string &name, std::int32_t iconColor=0, const std::string &iconCustomEmojiId="") constTgBot::Api
createInvoiceLink(const std::string &title, const std::string &description, const std::string &payload, const std::string &providerToken, const std::string &currency, const std::vector< LabeledPrice::Ptr > &prices, 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) constTgBot::Api
createNewStickerSet(std::int64_t userId, const std::string &name, const std::string &title, const std::string &emojis, MaskPosition::Ptr maskPosition=nullptr, boost::variant< InputFile::Ptr, std::string > pngSticker="", InputFile::Ptr tgsSticker=nullptr, InputFile::Ptr webmSticker=nullptr, const std::string &stickerType="") constTgBot::Api
declineChatJoinRequest(boost::variant< std::int64_t, std::string > chatId, std::int64_t userId) constTgBot::Api
deleteChatPhoto(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
deleteChatStickerSet(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
deleteForumTopic(boost::variant< std::int64_t, std::string > chatId, std::int32_t messageThreadId) constTgBot::Api
deleteMessage(boost::variant< std::int64_t, std::string > chatId, std::int32_t messageId) constTgBot::Api
deleteMyCommands(BotCommandScope::Ptr scope=nullptr, const std::string &languageCode="") constTgBot::Api
deleteStickerFromSet(const std::string &sticker) constTgBot::Api
deleteWebhook(bool dropPendingUpdates=false) constTgBot::Api
downloadFile(const std::string &filePath, const std::vector< HttpReqArg > &args=std::vector< HttpReqArg >()) constTgBot::Api
editChatInviteLink(boost::variant< std::int64_t, std::string > chatId, const std::string &inviteLink, std::int32_t expireDate=0, std::int32_t memberLimit=0, const std::string &name="", bool createsJoinRequest=false) constTgBot::Api
editForumTopic(boost::variant< std::int64_t, std::string > chatId, std::int32_t messageThreadId, const std::string &name="", boost::variant< std::int8_t, std::string > iconCustomEmojiId=0) constTgBot::Api
editGeneralForumTopic(boost::variant< std::int64_t, std::string > chatId, std::string name) constTgBot::Api
editMessageCaption(boost::variant< std::int64_t, std::string > chatId=0, std::int32_t messageId=0, const std::string &caption="", const std::string &inlineMessageId="", GenericReply::Ptr replyMarkup=nullptr, const std::string &parseMode="", const std::vector< MessageEntity::Ptr > &captionEntities=std::vector< MessageEntity::Ptr >()) constTgBot::Api
editMessageLiveLocation(float latitude, float longitude, boost::variant< std::int64_t, std::string > chatId="", std::int32_t messageId=0, const std::string &inlineMessageId="", InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >(), float horizontalAccuracy=0, std::int32_t heading=0, std::int32_t proximityAlertRadius=0) constTgBot::Api
editMessageMedia(InputMedia::Ptr media, boost::variant< std::int64_t, std::string > chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="", GenericReply::Ptr replyMarkup=nullptr) constTgBot::Api
editMessageReplyMarkup(boost::variant< std::int64_t, std::string > chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="", GenericReply::Ptr replyMarkup=nullptr) constTgBot::Api
editMessageText(const std::string &text, boost::variant< std::int64_t, std::string > chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="", const std::string &parseMode="", bool disableWebPagePreview=false, GenericReply::Ptr replyMarkup=nullptr, const std::vector< MessageEntity::Ptr > &entities=std::vector< MessageEntity::Ptr >()) constTgBot::Api
exportChatInviteLink(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
forwardMessage(boost::variant< std::int64_t, std::string > chatId, boost::variant< std::int64_t, std::string > fromChatId, std::int32_t messageId, bool disableNotification=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
getChat(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
getChatAdministrators(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
getChatMember(boost::variant< std::int64_t, std::string > chatId, std::int64_t userId) constTgBot::Api
getChatMemberCount(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
getChatMenuButton(std::int64_t chatId=0) constTgBot::Api
getCustomEmojiStickers(const std::vector< std::string > &customEmojiIds) constTgBot::Api
getFile(const std::string &fileId) constTgBot::Api
getForumTopicIconStickers() constTgBot::Api
getGameHighScores(std::int64_t userId, std::int64_t chatId=0, std::int32_t messageId=0, const std::string &inlineMessageId="") constTgBot::Api
getMe() constTgBot::Api
getMyCommands(BotCommandScope::Ptr scope=nullptr, const std::string &languageCode="") constTgBot::Api
getMyDefaultAdministratorRights(bool forChannels=false) constTgBot::Api
getStickerSet(const std::string &name) constTgBot::Api
getUpdates(std::int32_t offset=0, std::int32_t limit=100, std::int32_t timeout=0, const StringArrayPtr &allowedUpdates=nullptr) constTgBot::Api
getUserProfilePhotos(std::int64_t userId, std::int32_t offset=0, std::int32_t limit=100) constTgBot::Api
getWebhookInfo() constTgBot::Api
hideGeneralForumTopic(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
leaveChat(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
logOut() constTgBot::Api
pinChatMessage(boost::variant< std::int64_t, std::string > chatId, std::int32_t messageId, bool disableNotification=false) constTgBot::Api
promoteChatMember(boost::variant< std::int64_t, std::string > chatId, std::int64_t userId, bool canChangeInfo=false, bool canPostMessages=false, bool canEditMessages=false, bool canDeleteMessages=false, bool canInviteUsers=false, bool canPinMessages=false, bool canPromoteMembers=false, bool isAnonymous=false, bool canManageChat=false, bool canManageVideoChats=false, bool canRestrictMembers=false, bool canManageTopics=false) constTgBot::Api
reopenForumTopic(boost::variant< std::int64_t, std::string > chatId, std::int32_t messageThreadId) constTgBot::Api
reopenGeneralForumTopic(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
restrictChatMember(boost::variant< std::int64_t, std::string > chatId, std::int64_t userId, ChatPermissions::Ptr permissions, std::int64_t untilDate=0, bool useIndependentChatPermissions=false) constTgBot::Api
revokeChatInviteLink(boost::variant< std::int64_t, std::string > chatId, const std::string &inviteLink) constTgBot::Api
sendAnimation(boost::variant< std::int64_t, std::string > chatId, boost::variant< InputFile::Ptr, std::string > animation, std::int32_t duration=0, std::int32_t width=0, std::int32_t height=0, boost::variant< InputFile::Ptr, std::string > thumb="", const std::string &caption="", std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, const std::string &parseMode="", bool disableNotification=false, const std::vector< MessageEntity::Ptr > &captionEntities=std::vector< MessageEntity::Ptr >(), bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0, bool hasSpoiler=false) constTgBot::Api
sendAudio(boost::variant< std::int64_t, std::string > chatId, boost::variant< InputFile::Ptr, std::string > audio, const std::string &caption="", std::int32_t duration=0, const std::string &performer="", const std::string &title="", boost::variant< InputFile::Ptr, std::string > thumb="", std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, const std::string &parseMode="", bool disableNotification=false, const std::vector< MessageEntity::Ptr > &captionEntities=std::vector< MessageEntity::Ptr >(), bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendChatAction(std::int64_t chatId, const std::string &action, std::int32_t messageThreadId=0) constTgBot::Api
sendContact(boost::variant< std::int64_t, std::string > chatId, const std::string &phoneNumber, const std::string &firstName, const std::string &lastName="", const std::string &vcard="", bool disableNotification=false, std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendDice(boost::variant< std::int64_t, std::string > chatId, bool disableNotification=false, std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, const std::string &emoji="", bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendDocument(boost::variant< std::int64_t, std::string > chatId, boost::variant< InputFile::Ptr, std::string > document, boost::variant< InputFile::Ptr, std::string > thumb="", const std::string &caption="", std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, const std::string &parseMode="", bool disableNotification=false, const std::vector< MessageEntity::Ptr > &captionEntities=std::vector< MessageEntity::Ptr >(), bool disableContentTypeDetection=false, bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendGame(std::int64_t chatId, const std::string &gameShortName, std::int32_t replyToMessageId=0, InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >(), bool disableNotification=false, bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendInvoice(boost::variant< std::int64_t, std::string > chatId, const std::string &title, const std::string &description, const std::string &payload, const std::string &providerToken, const std::string &currency, const std::vector< LabeledPrice::Ptr > &prices, 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, std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, bool disableNotification=false, bool allowSendingWithoutReply=false, std::int32_t maxTipAmount=0, const std::vector< std::int32_t > &suggestedTipAmounts=std::vector< std::int32_t >(), const std::string &startParameter="", bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendLocation(boost::variant< std::int64_t, std::string > chatId, float latitude, float longitude, std::int32_t livePeriod=0, std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, bool disableNotification=false, float horizontalAccuracy=0, std::int32_t heading=0, std::int32_t proximityAlertRadius=0, bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendMediaGroup(boost::variant< std::int64_t, std::string > chatId, const std::vector< InputMedia::Ptr > &media, bool disableNotification=false, std::int32_t replyToMessageId=0, bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendMessage(boost::variant< std::int64_t, std::string > chatId, const std::string &text, bool disableWebPagePreview=false, std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, const std::string &parseMode="", bool disableNotification=false, const std::vector< MessageEntity::Ptr > &entities=std::vector< MessageEntity::Ptr >(), bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendPhoto(boost::variant< std::int64_t, std::string > chatId, boost::variant< InputFile::Ptr, std::string > photo, const std::string &caption="", std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, const std::string &parseMode="", bool disableNotification=false, const std::vector< MessageEntity::Ptr > &captionEntities=std::vector< MessageEntity::Ptr >(), bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0, bool hasSpoiler=false) constTgBot::Api
sendPoll(boost::variant< std::int64_t, std::string > chatId, const std::string &question, const std::vector< std::string > &options, bool disableNotification=false, std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, bool isAnonymous=true, const std::string &type="", bool allowsMultipleAnswers=false, std::int32_t correctOptionId=-1, const std::string &explanation="", const std::string &explanationParseMode="", const std::vector< MessageEntity::Ptr > &explanationEntities=std::vector< MessageEntity::Ptr >(), std::int32_t openPeriod=0, std::int32_t closeDate=0, bool isClosed=false, bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendRequest(const std::string &method, const std::vector< HttpReqArg > &args=std::vector< HttpReqArg >()) constTgBot::Apiprotected
sendSticker(boost::variant< std::int64_t, std::string > chatId, boost::variant< InputFile::Ptr, std::string > sticker, std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, bool disableNotification=false, bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendVenue(boost::variant< std::int64_t, std::string > chatId, float latitude, float longitude, const std::string &title, const std::string &address, const std::string &foursquareId="", const std::string &foursquareType="", bool disableNotification=false, std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, const std::string &googlePlaceId="", const std::string &googlePlaceType="", bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendVideo(boost::variant< std::int64_t, std::string > chatId, boost::variant< InputFile::Ptr, std::string > video, bool supportsStreaming=false, std::int32_t duration=0, std::int32_t width=0, std::int32_t height=0, boost::variant< InputFile::Ptr, std::string > thumb="", const std::string &caption="", std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, const std::string &parseMode="", bool disableNotification=false, const std::vector< MessageEntity::Ptr > &captionEntities=std::vector< MessageEntity::Ptr >(), bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0, bool hasSpoiler=false) constTgBot::Api
sendVideoNote(boost::variant< std::int64_t, std::string > chatId, boost::variant< InputFile::Ptr, std::string > videoNote, std::int64_t replyToMessageId=0, bool disableNotification=false, std::int32_t duration=0, std::int32_t length=0, boost::variant< InputFile::Ptr, std::string > thumb="", GenericReply::Ptr replyMarkup=nullptr, bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
sendVoice(boost::variant< std::int64_t, std::string > chatId, boost::variant< InputFile::Ptr, std::string > voice, const std::string &caption="", std::int32_t duration=0, std::int32_t replyToMessageId=0, GenericReply::Ptr replyMarkup=nullptr, const std::string &parseMode="", bool disableNotification=false, const std::vector< MessageEntity::Ptr > &captionEntities=std::vector< MessageEntity::Ptr >(), bool allowSendingWithoutReply=false, bool protectContent=false, std::int32_t messageThreadId=0) constTgBot::Api
setChatAdministratorCustomTitle(boost::variant< std::int64_t, std::string > chatId, std::int64_t userId, const std::string &customTitle) constTgBot::Api
setChatDescription(boost::variant< std::int64_t, std::string > chatId, const std::string &description="") constTgBot::Api
setChatMenuButton(std::int64_t chatId=0, MenuButton::Ptr menuButton=nullptr) constTgBot::Api
setChatPermissions(boost::variant< std::int64_t, std::string > chatId, ChatPermissions::Ptr permissions, bool useIndependentChatPermissions=false) constTgBot::Api
setChatPhoto(boost::variant< std::int64_t, std::string > chatId, InputFile::Ptr photo) constTgBot::Api
setChatStickerSet(boost::variant< std::int64_t, std::string > chatId, const std::string &stickerSetName) constTgBot::Api
setChatTitle(boost::variant< std::int64_t, std::string > chatId, const std::string &title) constTgBot::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="") constTgBot::Api
setMyCommands(const std::vector< BotCommand::Ptr > &commands, BotCommandScope::Ptr scope=nullptr, const std::string &languageCode="") constTgBot::Api
setMyDefaultAdministratorRights(ChatAdministratorRights::Ptr rights=nullptr, bool forChannels=false) constTgBot::Api
setPassportDataErrors(std::int64_t userId, const std::vector< PassportElementError::Ptr > &errors) constTgBot::Api
setStickerPositionInSet(const std::string &sticker, std::int32_t position) constTgBot::Api
setStickerSetThumb(const std::string &name, std::int64_t userId, boost::variant< InputFile::Ptr, std::string > thumb="") constTgBot::Api
setWebhook(const std::string &url, InputFile::Ptr certificate=nullptr, std::int32_t maxConnections=40, const StringArrayPtr &allowedUpdates=nullptr, const std::string &ipAddress="", bool dropPendingUpdates=false, const std::string &secretToken="") constTgBot::Api
stopMessageLiveLocation(boost::variant< std::int64_t, std::string > chatId="", std::int32_t messageId=0, const std::string &inlineMessageId="", InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >()) constTgBot::Api
stopPoll(boost::variant< std::int64_t, std::string > chatId, std::int64_t messageId, InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >()) constTgBot::Api
unbanChatMember(boost::variant< std::int64_t, std::string > chatId, std::int64_t userId, bool onlyIfBanned=false) constTgBot::Api
unbanChatSenderChat(boost::variant< std::int64_t, std::string > chatId, std::int64_t senderChatId) constTgBot::Api
unhideGeneralForumTopic(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
unpinAllChatMessages(boost::variant< std::int64_t, std::string > chatId) constTgBot::Api
unpinAllForumTopicMessages(boost::variant< std::int64_t, std::string > chatId, std::int32_t messageThreadId) constTgBot::Api
unpinChatMessage(boost::variant< std::int64_t, std::string > chatId, std::int32_t messageId=0) constTgBot::Api
uploadStickerFile(std::int64_t userId, InputFile::Ptr pngSticker) constTgBot::Api