-
Notifications
You must be signed in to change notification settings - Fork 267
Expand file tree
/
Copy pathBusinessMessagesDeleted.h
More file actions
42 lines (33 loc) · 938 Bytes
/
Copy pathBusinessMessagesDeleted.h
File metadata and controls
42 lines (33 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef TGBOT_BUSINESSMESSAGESDELETED_H
#define TGBOT_BUSINESSMESSAGESDELETED_H
#include "tgbot/types/Chat.h"
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
namespace TgBot {
/**
* @brief This object is received when messages are deleted from a connected business account.
*
* @ingroup types
*/
class BusinessMessagesDeleted {
public:
typedef std::shared_ptr<BusinessMessagesDeleted> Ptr;
/**
* @brief Unique identifier of the business connection
*/
std::string businessConnectionId;
/**
* @brief Information about a chat in the business account.
*
* The bot may not have access to the chat or the corresponding user.
*/
Chat::Ptr chat;
/**
* @brief A JSON-serialized list of identifiers of deleted messages in the chat of the business account
*/
std::vector<std::int32_t> messageIds;
};
}
#endif //TGBOT_BUSINESSMESSAGESDELETED_H