tgbot-cpp
TgBot::Api Member List

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

addStickerToSet(int32_t userId, const std::string &name, const std::string &title, InputFile::Ptr pngSticker, const std::string &emojis, MaskPosition::Ptr maskPosition=nullptr) constTgBot::Api
addStickerToSet(int32_t userId, const std::string &name, const std::string &title, const std::string &pngSticker, const std::string &emojis, MaskPosition::Ptr maskPosition=nullptr) constTgBot::Api
answerCallbackQuery(const std::string &callbackQueryId, const std::string &text="", bool showAlert=false, const std::string &url="", int32_t cacheTime=0) constTgBot::Api
answerInlineQuery(const std::string &inlineQueryId, const std::vector< InlineQueryResult::Ptr > &results, int32_t cacheTime=300, bool isPersonal=false, const std::string &nextOffset="", const std::string &switchPmText="", const std::string &switchPmParameter="") constTgBot::Api
Api(const std::string &token)TgBot::Api
Bot classTgBot::Apifriend
createNewStickerSet(int32_t userId, const std::string &name, const std::string &title, InputFile::Ptr pngSticker, const std::string &emojis, bool containsMasks=false, MaskPosition::Ptr maskPosition=nullptr) constTgBot::Api
createNewStickerSet(int32_t userId, const std::string &name, const std::string &title, const std::string &pngSticker, const std::string &emojis, bool containsMasks=false, MaskPosition::Ptr maskPosition=nullptr) constTgBot::Api
deleteChatPhoto(int64_t chatId) constTgBot::Api
deleteChatStickerSet(int64_t chatId) constTgBot::Api
deleteMessage(int64_t chatId, int32_t messageId) constTgBot::Api
deleteStickerPositionInSet(const std::string &sticker) constTgBot::Api
deleteWebhook() constTgBot::Api
downloadFile(const std::string &filePath, const std::vector< HttpReqArg > &args=std::vector< HttpReqArg >()) constTgBot::Api
editMessageCaption(int64_t chatId=0, int32_t messageId=0, const std::string &caption="", const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) constTgBot::Api
editMessageLiveLocation(float latitude, float longitude, int64_t chatId=0, int32_t messageId=0, int32_t inlineMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >()) constTgBot::Api
editMessageReplyMarkup(int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) constTgBot::Api
editMessageText(const std::string &text, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const std::string &parseMode="", bool disableWebPagePreview=false, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) constTgBot::Api
exportChatInviteLink(int64_t chatId) constTgBot::Api
forwardMessage(int64_t chatId, int64_t fromChatId, int32_t messageId, bool disableNotification=false) constTgBot::Api
getChat(int64_t chatId) constTgBot::Api
getChatAdministrators(int64_t chatId) constTgBot::Api
getChatMember(int64_t chatId, int32_t userId) constTgBot::Api
getChatMembersCount(int64_t chatId) constTgBot::Api
getFile(const std::string &fileId) constTgBot::Api
getGameHighScores(int32_t userId, int32_t score, bool force=false, bool disableEditMessage=false, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="") constTgBot::Api
getMe() constTgBot::Api
getStickerSet(const std::string &name) constTgBot::Api
getUpdates(int32_t offset=0, int32_t limit=100, int32_t timeout=0, const StringArrayPtr &allowedUpdates=nullptr) constTgBot::Api
getUserProfilePhotos(int32_t userId, int32_t offset=0, int32_t limit=100) constTgBot::Api
getWebhookInfo() constTgBot::Api
kickChatMember(int64_t chatId, int32_t userId, uint64_t untilDate=0) constTgBot::Api
leaveChat(int64_t chatId) constTgBot::Api
pinChatMessage(int64_t chatId, int32_t messageId, bool disableNotification=false) constTgBot::Api
promoteChatMember(int64_t chatId, int32_t userId, bool canChangeInfo=false, bool canPostMessages=false, bool canEditMessages=false, bool canDeleteMessages=false, bool canInviteUsers=false, bool canPinMessages=false, bool canPromoteMembers=false) constTgBot::Api
restrictChatMember(int64_t chatId, int32_t userId, uint64_t untilDate=0, bool canSendMessages=false, bool canSendMediaMessages=false, bool canSendOtherMessages=false, bool canAddWebPagePreviews=false) constTgBot::Api
sendAudio(int64_t chatId, const InputFile::Ptr audio, const std::string &caption="", int32_t duration=0, const std::string &performer="", const std::string &title="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
sendAudio(int64_t chatId, const std::string &audioId, const std::string &caption="", int32_t duration=0, const std::string &performer="", const std::string &title="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
sendChatAction(int64_t chatId, const std::string &action) constTgBot::Api
sendContact(int64_t chatId, const std::string &phoneNumber, const std::string &firstName, const std::string &lastName="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) constTgBot::Api
sendDocument(int64_t chatId, const InputFile::Ptr document, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
sendDocument(int64_t chatId, const std::string &documentId, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
sendGame(int64_t chatId, const std::string &gameShortName, int32_t replyToMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >(), bool disableNotification=false) constTgBot::Api
sendLocation(int64_t chatId, float latitude, float longitude, uint32_t livePeriod=0, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool disableNotification=false) constTgBot::Api
sendMediaGroup(int64_t chatId, const std::vector< InputMedia::Ptr > &media, bool disableNotification=false, int32_t replyToMessageId=0) constTgBot::Api
sendMessage(int64_t chatId, const std::string &text, bool disableWebPagePreview=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
sendPhoto(int64_t chatId, const InputFile::Ptr photo, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
sendPhoto(int64_t chatId, const std::string &photoId, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
sendSticker(int64_t chatId, const InputFile::Ptr sticker, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool disableNotification=false) constTgBot::Api
sendSticker(int64_t chatId, const std::string &stickerId, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool disableNotification=false) constTgBot::Api
sendVenue(int64_t chatId, float latitude, float longitude, const std::string &title, const std::string &address, const std::string &foursquareId="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) constTgBot::Api
sendVideo(int64_t chatId, const InputFile::Ptr video, bool supportsStreaming=false, int32_t duration=0, int32_t width=0, int32_t height=0, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
sendVideo(int64_t chatId, const std::string &videoId, bool supportsStreaming=false, int32_t duration=0, int32_t width=0, int32_t height=0, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
sendVideoNote(int64_t chatId, const InputFile::Ptr videoNote, int64_t replyToMessageId=0, bool disableNotification=false, int32_t duration=0, int32_t length=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr())TgBot::Api
sendVideoNote(int64_t chatId, const std::string &videoNote, int64_t replyToMessageId=0, bool disableNotification=false, int32_t duration=0, int32_t length=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr())TgBot::Api
sendVoice(int64_t chatId, const InputFile::Ptr voice, const std::string &caption="", int duration=0, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
sendVoice(int64_t chatId, const std::string &voiceId, const std::string &caption="", int duration=0, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) constTgBot::Api
setChatDescription(int64_t chatId, const std::string &description) constTgBot::Api
setChatPhoto(int64_t chatId, const InputFile::Ptr photo) constTgBot::Api
setChatStickerSet(int64_t chatId, const std::string &stickerSetName) constTgBot::Api
setChatTitle(int64_t chatId, const std::string &title) constTgBot::Api
setGameScore(int32_t userId, int32_t score, bool force=false, bool disableEditMessage=false, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="") constTgBot::Api
setStickerPositionInSet(const std::string &sticker, uint32_t position) constTgBot::Api
setWebhook(const std::string &url="", const InputFile::Ptr certificate=nullptr, int32_t maxConnection=40, const StringArrayPtr &allowedUpdates=nullptr) constTgBot::Api
stopMessageLiveLocation(int64_t chatId=0, int32_t messageId=0, int32_t inlineMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >()) constTgBot::Api
unbanChatMember(int64_t chatId, int32_t userId) constTgBot::Api
unpinChatMessage(int64_t chatId) constTgBot::Api
uploadStickerFile(int32_t userId, const InputFile::Ptr pngSticker) constTgBot::Api