From 778f0c54bce8186ace310c70bdd797aa0d759869 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Mon, 15 May 2017 00:25:15 +0300 Subject: Update docs --- docs/class_tg_bot_1_1_api.html | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (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 a36f8ed..503f79d 100644 --- a/docs/class_tg_bot_1_1_api.html +++ b/docs/class_tg_bot_1_1_api.html @@ -154,6 +154,8 @@ Public Member Functions   Message::Ptr editMessageReplyMarkup (int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=GenericReply::Ptr()) const   +void deleteMessage (int64_t chatId, int32_t messageId) 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 @@ -326,6 +328,41 @@ Friends
Returns
True on success
+ + + +

◆ deleteMessage()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void TgBot::Api::deleteMessage (int64_t chatId,
int32_t messageId 
) const
+
+

Use this method to delete messages sent by bot (or by other users if bot is admin).

Parameters
+ + + +
chatIdUnique identifier for the target chat.
messageIdUnique identifier for the target message.
+
+
+
@@ -2230,7 +2267,7 @@ Friends