From 2e6a6072e81a1845e7365e5f2dcd10cc9cb8ff56 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Thu, 26 Jan 2017 14:31:14 +0300 Subject: Bot compilation instructions in README. Update docs --- docs/class_tg_bot_1_1_api.html | 214 ++++++++++++++++++++--------------------- 1 file changed, 107 insertions(+), 107 deletions(-) (limited to 'docs/class_tg_bot_1_1_api.html') diff --git a/docs/class_tg_bot_1_1_api.html b/docs/class_tg_bot_1_1_api.html index 23be686..72bada4 100644 --- a/docs/class_tg_bot_1_1_api.html +++ b/docs/class_tg_bot_1_1_api.html @@ -96,40 +96,40 @@ Public Member Functions   User::Ptr getMe () const   -Message::Ptr sendMessage (int64_t chatId, const std::string &text, bool disableWebPagePreview=false, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), const std::string &parseMode="", bool disableNotification=false) const -  +Message::Ptr sendMessage (int64_t chatId, const std::string &text, bool disableWebPagePreview=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), const std::string &parseMode="", bool disableNotification=false) const +  Message::Ptr forwardMessage (int64_t chatId, int64_t fromChatId, int32_t messageId, bool disableNotification=false) const   -Message::Ptr sendPhoto (int64_t chatId, const InputFile::Ptr &photo, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendPhoto (int64_t chatId, const std::string &photoId, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr 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=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr 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=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendDocument (int64_t chatId, const InputFile::Ptr &document, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendDocument (int64_t chatId, const std::string &documentId, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendSticker (int64_t chatId, const InputFile::Ptr &sticker, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendSticker (int64_t chatId, const std::string &stickerId, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendVideo (int64_t chatId, const InputFile::Ptr &video, int32_t duration=0, int32_t width=0, int32_t height=0, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendVideo (int64_t chatId, const std::string &videoId, int32_t duration=0, int32_t width=0, int32_t height=0, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendVoice (int64_t chatId, const InputFile::Ptr &voice, const std::string &caption="", int duration=0, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendVoice (int64_t chatId, const std::string &voiceId, const std::string &caption="", int duration=0, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendLocation (int64_t chatId, float latitude, float longitude, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const -  -Message::Ptr sendVenue (int64_t chatId, float latitude, float longitude, std::string title, std::string address, std::string foursquareId="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) const -  -Message::Ptr sendContact (int64_t chatId, std::string phoneNumber, std::string firstName, std::string lastName="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) const -  +Message::Ptr sendPhoto (int64_t chatId, const InputFile::Ptr photo, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendPhoto (int64_t chatId, const std::string &photoId, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr 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=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr 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=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendDocument (int64_t chatId, const InputFile::Ptr document, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendDocument (int64_t chatId, const std::string &documentId, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendSticker (int64_t chatId, const InputFile::Ptr sticker, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendSticker (int64_t chatId, const std::string &stickerId, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendVideo (int64_t chatId, const InputFile::Ptr video, int32_t duration=0, int32_t width=0, int32_t height=0, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendVideo (int64_t chatId, const std::string &videoId, int32_t duration=0, int32_t width=0, int32_t height=0, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendVoice (int64_t chatId, const InputFile::Ptr voice, const std::string &caption="", int duration=0, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendVoice (int64_t chatId, const std::string &voiceId, const std::string &caption="", int duration=0, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendLocation (int64_t chatId, float latitude, float longitude, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const +  +Message::Ptr sendVenue (int64_t chatId, float latitude, float longitude, std::string title, std::string address, std::string foursquareId="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr()) const +  +Message::Ptr sendContact (int64_t chatId, std::string phoneNumber, std::string firstName, std::string lastName="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr()) const +  void sendChatAction (int64_t chatId, const std::string &action) const   UserProfilePhotos::Ptr getUserProfilePhotos (int32_t userId, int32_t offset=0, int32_t limit=100) const @@ -148,16 +148,16 @@ Public Member Functions   bool answerCallbackQuery (const std::string &callbackQueryId, const std::string &text="", bool showAlert=false, const std::string &url="", int32_t cacheTime=0) const   -Message::Ptr 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=GenericReply::Ptr()) const -  -Message::Ptr editMessageCaption (int64_t chatId=0, int32_t messageId=0, const std::string &caption="", const std::string &inlineMessageId="", const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) const -  -Message::Ptr editMessageReplyMarkup (int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) const -  +Message::Ptr 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=GenericReply::Ptr()) const +  +Message::Ptr editMessageCaption (int64_t chatId=0, int32_t messageId=0, const std::string &caption="", const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=GenericReply::Ptr()) const +  +Message::Ptr editMessageReplyMarkup (int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=GenericReply::Ptr()) const +  std::vector< Update::PtrgetUpdates (int32_t offset=0, int32_t limit=100, int32_t timeout=0, const StringArrayPtr &allowedUpdates=nullptr) const   -void setWebhook (const std::string &url="", const InputFile::Ptr &certificate=nullptr, int32_t maxConnection=40, const StringArrayPtr &allowedUpdates=nullptr) const -  +void setWebhook (const std::string &url="", const InputFile::Ptr certificate=nullptr, int32_t maxConnection=40, const StringArrayPtr &allowedUpdates=nullptr) const +  bool deleteWebhook () const   WebhookInfo::Ptr getWebhookInfo () const @@ -344,8 +344,8 @@ Friends - -

◆ editMessageCaption()

+ +

◆ editMessageCaption()

@@ -377,7 +377,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr()  @@ -401,8 +401,8 @@ Friends
- -

◆ editMessageReplyMarkup()

+ +

◆ editMessageReplyMarkup()

@@ -428,7 +428,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr()  @@ -451,8 +451,8 @@ Friends
- -

◆ editMessageText()

+ +

◆ editMessageText()

@@ -496,7 +496,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr()  @@ -898,8 +898,8 @@ Friends
- -

◆ sendAudio() [1/2]

+ +

◆ sendAudio() [1/2]

@@ -913,7 +913,7 @@ Friends - const InputFile::Ptr &  + const InputFile::Ptr  audio, @@ -949,7 +949,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -983,8 +983,8 @@ Friends
- -

◆ sendAudio() [2/2]

+ +

◆ sendAudio() [2/2]

@@ -1034,7 +1034,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1103,8 +1103,8 @@ Friends
- -

◆ sendContact()

+ +

◆ sendContact()

@@ -1148,7 +1148,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr()  @@ -1174,8 +1174,8 @@ Friends
- -

◆ sendDocument() [1/2]

+ +

◆ sendDocument() [1/2]

@@ -1189,7 +1189,7 @@ Friends - const InputFile::Ptr &  + const InputFile::Ptr  document, @@ -1207,7 +1207,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1238,8 +1238,8 @@ Friends
- -

◆ sendDocument() [2/2]

+ +

◆ sendDocument() [2/2]

@@ -1271,7 +1271,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1302,8 +1302,8 @@ Friends
- -

◆ sendLocation()

+ +

◆ sendLocation()

@@ -1335,7 +1335,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1366,8 +1366,8 @@ Friends
- -

◆ sendMessage()

+ +

◆ sendMessage()

@@ -1399,7 +1399,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1437,8 +1437,8 @@ Friends
- -

◆ sendPhoto() [1/2]

+ +

◆ sendPhoto() [1/2]

@@ -1452,7 +1452,7 @@ Friends - const InputFile::Ptr &  + const InputFile::Ptr  photo, @@ -1470,7 +1470,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1501,8 +1501,8 @@ Friends
- -

◆ sendPhoto() [2/2]

+ +

◆ sendPhoto() [2/2]

@@ -1534,7 +1534,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1565,8 +1565,8 @@ Friends
- -

◆ sendSticker() [1/2]

+ +

◆ sendSticker() [1/2]

@@ -1580,7 +1580,7 @@ Friends - const InputFile::Ptr &  + const InputFile::Ptr  sticker, @@ -1592,7 +1592,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1622,8 +1622,8 @@ Friends
- -

◆ sendSticker() [2/2]

+ +

◆ sendSticker() [2/2]

@@ -1649,7 +1649,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1679,8 +1679,8 @@ Friends
- -

◆ sendVenue()

+ +

◆ sendVenue()

@@ -1736,7 +1736,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr()  @@ -1764,8 +1764,8 @@ Friends
- -

◆ sendVideo() [1/2]

+ +

◆ sendVideo() [1/2]

@@ -1779,7 +1779,7 @@ Friends - const InputFile::Ptr &  + const InputFile::Ptr  video, @@ -1815,7 +1815,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1849,8 +1849,8 @@ Friends
- -

◆ sendVideo() [2/2]

+ +

◆ sendVideo() [2/2]

@@ -1900,7 +1900,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -1934,8 +1934,8 @@ Friends
- -

◆ sendVoice() [1/2]

+ +

◆ sendVoice() [1/2]

@@ -1949,7 +1949,7 @@ Friends - const InputFile::Ptr &  + const InputFile::Ptr  voice, @@ -1973,7 +1973,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -2005,8 +2005,8 @@ Friends
- -

◆ sendVoice() [2/2]

+ +

◆ sendVoice() [2/2]

@@ -2044,7 +2044,7 @@ Friends - const GenericReply::Ptr &  + const GenericReply::Ptr  replyMarkup = GenericReply::Ptr(), @@ -2076,8 +2076,8 @@ Friends
- -

◆ setWebhook()

+ +

◆ setWebhook()

@@ -2091,7 +2091,7 @@ Friends - const InputFile::Ptr &  + const InputFile::Ptr  certificate = nullptr, @@ -2192,7 +2192,7 @@ Friends