xxtelebot  1.4.1.0
A simple Telegram Bot implementation in C++
tgbot::Bot Member List

This is the complete list of members for tgbot::Bot, including all inherited members.

__Command_Tuple typedef (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
addStickerToSet(const int &userId, const std::string &name, const std::string &emoji, const std::string &pngSticker, const types::FileSource &source=types::FileSource::EXTERNAL) const (defined in tgbot::methods::Api)tgbot::methods::Api
addStickerToSet(const int &userId, const std::string &name, const std::string &emoji, const std::string &pngSticker, const api_types::MaskPosition &maskPosition, const types::FileSource &source=types::FileSource::EXTERNAL) const (defined in tgbot::methods::Api)tgbot::methods::Api
answerCallbackQuery(const std::string &callbackQueryId, const std::string &text="", const bool &showAlert=false, const std::string &url="", const int &cacheTime=0) const (defined in tgbot::methods::Api)tgbot::methods::Api
answerInlineQuery(const std::string &inlineQueryId, const std::vector<::tgbot::types::Ptr< types::InlineQueryResult >> &results, const int &cacheTime=0, const bool &isPersonal=true, const std::string &nextOffset="", const std::string &switchPmText="", const std::string &switchPmParameter="") const (defined in tgbot::methods::Api)tgbot::methods::Api
answerPreCheckoutQuery(const std::string &preCheckoutQueryId, const std::string &errorMessage) const tgbot::methods::Api
answerPreCheckoutQuery(const std::string &preCheckoutQueryId) const tgbot::methods::Api
answerShippingQuery(const std::string &shippingQueryId, const std::string &errorMessage) const tgbot::methods::Api
answerShippingQuery(const std::string &shippingQueryId, const std::vector< types::ShippingOption > &shippingOptions) const tgbot::methods::Api
Api()=delete (defined in tgbot::methods::Api)tgbot::methods::Api
Api(const std::string &token) (defined in tgbot::methods::Api)tgbot::methods::Apiexplicitprotected
Api(const std::string &token, const std::vector< api_types::UpdateType > &allowedUpdates, const int &timeout, const int &limit) (defined in tgbot::methods::Api)tgbot::methods::Apiprotected
Api(const std::string &token, const std::string &url, const int &maxConnections, const std::vector< api_types::UpdateType > &allowedUpdates) (defined in tgbot::methods::Api)tgbot::methods::Apiprotected
Api(const std::string &token, const std::string &url, const std::string &certificate, const int &maxConnections, const std::vector< api_types::UpdateType > &allowedUpdates) (defined in tgbot::methods::Api)tgbot::methods::Apiprotected
Bot(const Bot &)=default (defined in tgbot::Bot)tgbot::Bot
Bot(Bot &&)=default (defined in tgbot::Bot)tgbot::Bot
Bot(TyArgs &&...many) (defined in tgbot::Bot)tgbot::Botinlineexplicitprotected
callback(bool(&matcherCallback)(const std::string &, const char *), void(&callback)(const types::Message, const methods::Api &, const std::vector< std::string >), const char *matchWord, const char sep= ' ')tgbot::RegisterCallbackinline
callback(bool(&matcherCallback)(const std::string &, const char *), std::function< void(const types::Message, const methods::Api &, const std::vector< std::string >)> callback, const char *matchWord, const char sep= ' ')tgbot::RegisterCallbackinline
callback(std::function< bool(const std::string &, const char *)> matcherCallback, void(&callback)(const types::Message, const methods::Api &, const std::vector< std::string >), const char *matchWord, const char sep= ' ')tgbot::RegisterCallbackinline
callback(std::function< bool(const std::string &, const char *)> matcherCallback, std::function< void(const types::Message, const methods::Api &, const std::vector< std::string >)> callback, const char *matchWord, const char sep= ' ')tgbot::RegisterCallbackinline
callback(void(&callback)(const types::Message, const methods::Api &))tgbot::RegisterCallbackinline
callback(MessageCallback callback)tgbot::RegisterCallbackinline
callback(void(&callback)(const types::InlineQuery, const methods::Api &))tgbot::RegisterCallbackinline
callback(InlineQueryCallback callback)tgbot::RegisterCallbackinline
callback(void(&callback)(const types::ChosenInlineResult, const methods::Api &))tgbot::RegisterCallbackinline
callback(ChosenInlineResultCallback callback)tgbot::RegisterCallbackinline
callback(void(&callback)(const types::CallbackQuery, const methods::Api &))tgbot::RegisterCallbackinline
callback(CallbackQueryCallback callback)tgbot::RegisterCallbackinline
callback(void(&callback)(const types::ShippingQuery, const methods::Api &))tgbot::RegisterCallbackinline
callback(ShippingQueryCallback callback)tgbot::RegisterCallbackinline
callback(void(&callback)(const types::PreCheckoutQuery, const methods::Api &))tgbot::RegisterCallbackinline
callback(PreCheckoutQueryCallback callback)tgbot::RegisterCallbackinline
callback(void(&callback)(const types::Message, const methods::Api &), const types::UpdateType &which)tgbot::RegisterCallbackinline
callback(MessageCallback callback, const types::UpdateType updateType)tgbot::RegisterCallbackinline
CallbackQueryCallback typedef (defined in tgbot::RegisterCallback)tgbot::RegisterCallback
callbackQueryCallback (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
channelPostCallback (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
ChosenInlineResultCallback typedef (defined in tgbot::RegisterCallback)tgbot::RegisterCallback
chosenInlineResultCallback (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
commandCallback (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
createNewStickerSet(const int &userId, const std::string &name, const std::string &title, const std::string &emoji, const std::string &pngSticker, const types::FileSource &source=types::FileSource::EXTERNAL) const (defined in tgbot::methods::Api)tgbot::methods::Api
createNewStickerSet(const int &userId, const std::string &name, const std::string &title, const std::string &emoji, const std::string &pngSticker, const api_types::MaskPosition &maskPosition, const types::FileSource &source=types::FileSource::EXTERNAL) const (defined in tgbot::methods::Api)tgbot::methods::Api
deleteChatPhoto(const std::string &chatId) const (defined in tgbot::methods::Api)tgbot::methods::Api
deleteChatStickerSet(const int &chatId) const (defined in tgbot::methods::Api)tgbot::methods::Api
deleteChatStickerSet(const std::string &chatId) const (defined in tgbot::methods::Api)tgbot::methods::Api
deleteMessage(const std::string &chatId, const std::string &messageId) const (defined in tgbot::methods::Api)tgbot::methods::Api
deleteStickerFromSet(const std::string &sticker) const (defined in tgbot::methods::Api)tgbot::methods::Api
deleteWebhook() const (defined in tgbot::methods::Api)tgbot::methods::Api
editedChannelPostCallback (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
editedMessageCallback (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
editMessageCaption(const std::string &chatId, const std::string &messageId, const std::string &caption) const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageCaption(const std::string &inlineMessageId, const std::string &caption) const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageCaption(const std::string &chatId, const std::string &messageId, const types::InlineKeyboardMarkup &replyMarkup, const std::string &caption) const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageCaption(const std::string &inlineMessageId, const types::InlineKeyboardMarkup &replyMarkup, const std::string &caption) const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageLiveLocation(const double &longitude, const double &latitude, const int &chatId, const int &messageId, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageLiveLocation(const double &longitude, const double &latitude, const std::string &inlineMessageId, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageMedia(const std::string &inlineMessageId, const types::InputMedia &media, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageMedia(const std::string &chatId, const int &messageId, const types::InputMedia &media, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageReplyMarkup(const std::string &inlineMessageId, const types::InlineKeyboardMarkup &replyMarkup) const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageReplyMarkup(const std::string &chatId, const std::string &messageId, const types::InlineKeyboardMarkup &replyMarkup) const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageText(const std::string &inlineMessageId, const std::string &text, const types::ParseMode &parseMode=types::ParseMode::DEFAULT, const bool &disableWebPagePreview=false) const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageText(const std::string &inlineMessageId, const types::InlineKeyboardMarkup &replyMarkup, const std::string &text, const types::ParseMode &parseMode=types::ParseMode::DEFAULT, const bool &disableWebPagePreview=false) const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageText(const std::string &chatId, const std::string &messageId, const std::string &text, const types::ParseMode &parseMode=types::ParseMode::DEFAULT, const bool &disableWebPagePreview=false) const (defined in tgbot::methods::Api)tgbot::methods::Api
editMessageText(const std::string &chatId, const std::string &messageId, const types::InlineKeyboardMarkup &replyMarkup, const std::string &text, const types::ParseMode &parseMode=types::ParseMode::DEFAULT, const bool &disableWebPagePreview=false) const (defined in tgbot::methods::Api)tgbot::methods::Api
exportChatInviteLink(const std::string &chatId) const (defined in tgbot::methods::Api)tgbot::methods::Api
forwardMessage(const std::string &chatId, const std::string &fromChatId, const int &messageId, const bool &disableNotification=false) const (defined in tgbot::methods::Api)tgbot::methods::Api
getChat(const std::string &chatId) const (defined in tgbot::methods::Api)tgbot::methods::Api
getChatAdministrators(const std::string &chatId) const (defined in tgbot::methods::Api)tgbot::methods::Api
getChatMember(const std::string &chatId, const int &userId) const (defined in tgbot::methods::Api)tgbot::methods::Api
getChatMembersCount(const std::string &chatId) const (defined in tgbot::methods::Api)tgbot::methods::Api
getFile(const std::string &fileId) const (defined in tgbot::methods::Api)tgbot::methods::Api
getGameHighScores(const int &userId, const std::string &inlineMessageId) const (defined in tgbot::methods::Api)tgbot::methods::Api
getGameHighScores(const int &userId, const int &chatId, const int &messageId) const (defined in tgbot::methods::Api)tgbot::methods::Api
getLogger() const (defined in tgbot::methods::Api)tgbot::methods::Apiinline
getLogger() (defined in tgbot::methods::Api)tgbot::methods::Apiinline
getMe() const (defined in tgbot::methods::Api)tgbot::methods::Api
getStickerSet(const std::string &name) const (defined in tgbot::methods::Api)tgbot::methods::Api
getUpdates(void *c, std::vector< api_types::Update > &updates) (defined in tgbot::methods::Api)tgbot::methods::Apiprotected
getUserProfilePhotos(const int &userId, const unsigned &offset=0, const unsigned &limit=100) const (defined in tgbot::methods::Api)tgbot::methods::Api
getWebhookInfo() const (defined in tgbot::methods::Api)tgbot::methods::Api
InlineQueryCallback typedef (defined in tgbot::RegisterCallback)tgbot::RegisterCallback
inlineQueryCallback (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
kickChatMember(const std::string &chatId, const int &userId, const int &untilDate=-1) const (defined in tgbot::methods::Api)tgbot::methods::Api
leaveChat(const std::string &chatId) const (defined in tgbot::methods::Api)tgbot::methods::Api
makeCallback(const std::vector< types::Update > &updates) const (defined in tgbot::Bot)tgbot::Botprotected
MessageCallback typedef (defined in tgbot::RegisterCallback)tgbot::RegisterCallback
messageCallback (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
notifyEachUpdate(bool t)tgbot::Bot
operator=(const Bot &)=default (defined in tgbot::Bot)tgbot::Bot
operator=(Bot &&)=default (defined in tgbot::Bot)tgbot::Bot
pinChatMessage(const std::string &chatId, const std::string &messageId, const bool &disableNotification=false) const (defined in tgbot::methods::Api)tgbot::methods::Api
PreCheckoutQueryCallback typedef (defined in tgbot::RegisterCallback)tgbot::RegisterCallback
preCheckoutQueryCallback (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
promoteChatMember(const std::string &chatId, const int &userId, const types::ChatMemberPromote &permissions) const (defined in tgbot::methods::Api)tgbot::methods::Api
RegisterCallback()=default (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
restrictChatMember(const std::string &chatId, const int &userId, const types::ChatMemberRestrict &permissions, const int &untilDate=-1) const (defined in tgbot::methods::Api)tgbot::methods::Api
sendAudio(const std::string &chatId, const std::string &audio, const types::FileSource &source=types::FileSource::EXTERNAL, const std::string &mimeType="", const std::string &caption="", const int &duration=-1, const std::string &performer="", const std::string &title="", const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendChatAction(const std::string &chatId, const types::ChatAction &action) const (defined in tgbot::methods::Api)tgbot::methods::Api
sendContact(const std::string &chatId, const std::string &phoneNumber, const std::string &firstName, const std::string &vCard="", const std::string &lastName="", const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendDocument(const std::string &chatId, const std::string &document, const types::FileSource &source=types::FileSource::EXTERNAL, const std::string &mimeType="", const std::string &caption="", const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendGame(const int &chatId, const std::string &gameShortName, const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendInvoice(const int &chatId, const types::Invoice &invoice, const bool &disableNotification=false, const int &replyToMessageId=-1) const tgbot::methods::Api
sendInvoice(const int &chatId, const types::Invoice &invoice, const types::InlineKeyboardMarkup &replyMarkup, const bool &disableNotification=false, const int &replyToMessageId=-1) const tgbot::methods::Api
sendLocation(const std::string &chatId, const double &latitude, const double &longitude, const int &liveLocation=-1, const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendMediaGroup(const std::string &chatId, const std::vector< tgbot::types::Ptr< types::InputMedia >> &media, const bool &disableNotification=false, const int &replyToMessageId=-1) const (defined in tgbot::methods::Api)tgbot::methods::Api
sendMessage(const std::string &chatId, const std::string &text, const types::ParseMode &=types::ParseMode::DEFAULT, const bool &disableWebPagePreview=false, const bool &disableNotification=false, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendMessage(const std::string &chatId, const std::string &text, const int &replyToMessageId, const types::ParseMode &=types::ParseMode::DEFAULT, const bool &disableWebPagePreview=false, const bool &disableNotification=false, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendPhoto(const std::string &chatId, const std::string &photo, const types::FileSource &source=types::FileSource::EXTERNAL, const std::string &mimeType="", const std::string &caption="", const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendPoll(const std::string &chatId, const std::string &question, const std::vector< std::string > &options, const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendSticker(const std::string &chatId, const std::string &sticker, const types::FileSource &source=types::FileSource::EXTERNAL, const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendVenue(const std::string &chatId, const double &latitude, const double &longitude, const std::string &title, const std::string &address, const std::string &foursquareType="", const std::string &foursquareId="", const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendVideo(const std::string &chatId, const std::string &video, const types::FileSource &source=types::FileSource::EXTERNAL, const std::string &mimeType="", const int &duration=-1, const int &width=-1, const int &height=-1, const std::string &caption="", const bool &supportsStreaming=false, const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendVideoNote(const std::string &chatId, const std::string &videoNote, const types::FileSource &source=types::FileSource::EXTERNAL, const std::string &caption="", const int &duration=-1, const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
sendVoice(const std::string &chatId, const std::string &voice, const types::FileSource &source=types::FileSource::EXTERNAL, const std::string &caption="", const int &duration=-1, const bool &disableNotification=false, const int &replyToMessageId=-1, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
setChatDescription(const std::string &chatId, const std::string &description) const (defined in tgbot::methods::Api)tgbot::methods::Api
setChatPhoto(const std::string &chatId, const std::string &filename, const std::string &mimeType) const (defined in tgbot::methods::Api)tgbot::methods::Api
setChatStickerSet(const int &chatId, const std::string &stickerSetName) const (defined in tgbot::methods::Api)tgbot::methods::Api
setChatStickerSet(const std::string &chatId, const std::string &stickerSetName) const (defined in tgbot::methods::Api)tgbot::methods::Api
setChatTitle(const std::string &chatId, const std::string &title) const (defined in tgbot::methods::Api)tgbot::methods::Api
setGameScore(const std::string &userId, const int &score, const std::string &inlineMessageId, const bool &force=false, const bool &disableEditMessage=false) const (defined in tgbot::methods::Api)tgbot::methods::Api
setGameScore(const std::string &userId, const int &score, const int &chatId, const int &messageId, const bool &force=false, const bool &disableEditMessage=false) const (defined in tgbot::methods::Api)tgbot::methods::Api
setStickerPositionInSet(const std::string &sticker, const int &position) const (defined in tgbot::methods::Api)tgbot::methods::Api
setWebhook(const std::string &url, const int &maxConnections=40, const std::vector< api_types::UpdateType > &allowedUpdates={}) (defined in tgbot::methods::Api)tgbot::methods::Api
setWebhook(const std::string &url, const std::string &certificate, const int &maxConnections=40, const std::vector< api_types::UpdateType > &allowedUpdates={}) (defined in tgbot::methods::Api)tgbot::methods::Api
shippingQueryCallback (defined in tgbot::RegisterCallback)tgbot::RegisterCallbackprotected
ShippingQueryCallback typedef (defined in tgbot::RegisterCallback)tgbot::RegisterCallback
start() (defined in tgbot::Bot)tgbot::Botinlinevirtual
stopMessageLiveLocation(const int &chatId, const int &messageId, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
stopMessageLiveLocation(const std::string &inlineMessageId, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
stopPoll(const std::string &chatId, const int &messageId, const types::ReplyMarkup &replyMarkup="") const (defined in tgbot::methods::Api)tgbot::methods::Api
unbanChatMember(const std::string &chatId, const int &userId) const (defined in tgbot::methods::Api)tgbot::methods::Api
unpinChatMessage(const std::string &chatId) const (defined in tgbot::methods::Api)tgbot::methods::Api
uploadStickerFile(const int &userId, const std::string &pngSticker, const types::FileSource &source=types::FileSource::EXTERNAL) const (defined in tgbot::methods::Api)tgbot::methods::Api
urlWebhook (defined in tgbot::methods::Api)tgbot::methods::Apiprotected
~Bot()=default (defined in tgbot::Bot)tgbot::Botvirtual