28 nl::json json = nl::json::object();
#define OBJECT_SERIALIZE_FIELD_PTR(json, json_field, field)
#define OBJECT_DESERIALIZE_FIELD_PTR(json, json_field, field, optional)
#define OBJECT_SERIALIZE_FIELD(json, json_field, field)
Available objects: https://core.telegram.org/bots/api#available-types.
#define OBJECT_DESERIALIZE_FIELD(json, json_field, field, default_value, optional)
Deserialize.
This object is received when messages are deleted from a connected business account....
void fromJson(const nl::json &json)
Deserializes this object from JSON.
BusinessMessagesDeleted()=default
std::string businessConnectionId
Unique identifier of the business connection.
nl::json toJson() const
Serializes this object to JSON.
std::vector< std::int32_t > messageIds
The list of identifiers of deleted messages in the chat of the business account.
Ptr< Chat > chat
Information about a chat in the business account. The bot may not have access to the chat or the corr...
BusinessMessagesDeleted(const nl::json &json)