tgbotxx 1.1.6.9
Telegram Bot C++ Library
Loading...
Searching...
No Matches
VideoChatParticipantsInvited.hpp
Go to the documentation of this file.
1#pragma once
4
5namespace tgbotxx {
10 explicit VideoChatParticipantsInvited(const nl::json& json) {
11 fromJson(json);
12 }
13
15 std::vector<Ptr<User>> users;
16
17
20 nl::json toJson() const {
21 nl::json json = nl::json::object();
23 return json;
24 }
25
27 void fromJson(const nl::json& json) {
28 OBJECT_DESERIALIZE_FIELD_PTR_ARRAY(json, "users", users, false);
29 }
30 };
31}
#define OBJECT_SERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field)
Definition Object.hpp:27
#define OBJECT_DESERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field, optional)
Definition Object.hpp:87
This object represents a service message about new members invited to a video chat....
void fromJson(const nl::json &json)
Deserializes this object from JSON.
std::vector< Ptr< User > > users
New members that were invited to the video chat.
nl::json toJson() const
Serializes this object to JSON.