Add description to groupCallParticipantVideoInfo.
This commit is contained in:
parent
138bf15dec
commit
d794866448
@ -2170,8 +2170,8 @@ groupCallRecentSpeaker participant_id:MessageSender is_speaking:Bool = GroupCall
|
||||
//@duration Call duration; for ended calls only
|
||||
groupCall id:int32 title:string scheduled_start_date:int32 enabled_start_notification:Bool is_active:Bool is_joined:Bool need_rejoin:Bool can_be_managed:Bool participant_count:int32 loaded_all_participants:Bool recent_speakers:vector<groupCallRecentSpeaker> is_my_video_enabled:Bool can_start_video:Bool mute_new_participants:Bool can_change_mute_new_participants:Bool record_duration:int32 duration:int32 = GroupCall;
|
||||
|
||||
//@description Contains information about a group call participant's video channel @source_ids List of video channel synchronization source identifiers @endpoint_id Video endpoint identifier
|
||||
groupCallParticipantVideoInfo source_ids:vector<int32> endpoint_id:string = GroupCallParticipantVideoInfo;
|
||||
//@description Contains information about a group call participant's video channel @source_ids List of video channel synchronization source identifiers @endpoint_id Video channel endpoint identifier @param_description Detailed description of the video channel
|
||||
groupCallParticipantVideoInfo source_ids:vector<int32> endpoint_id:string description:string = GroupCallParticipantVideoInfo;
|
||||
|
||||
//@description Represents a group call participant
|
||||
//@participant_id Identifier of the group call participant
|
||||
|
@ -15,7 +15,7 @@
|
||||
namespace td {
|
||||
|
||||
bool operator==(const GroupCallVideoPayload &lhs, const GroupCallVideoPayload &rhs) {
|
||||
return lhs.sources == rhs.sources && lhs.endpoint == rhs.endpoint;
|
||||
return lhs.sources == rhs.sources && lhs.endpoint == rhs.endpoint && lhs.json_payload == rhs.json_payload;
|
||||
}
|
||||
|
||||
td_api::object_ptr<td_api::groupCallParticipantVideoInfo> get_group_call_participant_video_info_object(
|
||||
@ -23,8 +23,8 @@ td_api::object_ptr<td_api::groupCallParticipantVideoInfo> get_group_call_partici
|
||||
if (payload.endpoint.empty() || payload.sources.empty()) {
|
||||
return nullptr;
|
||||
}
|
||||
return td_api::make_object<td_api::groupCallParticipantVideoInfo>(vector<int32>(payload.sources),
|
||||
payload.endpoint);
|
||||
return td_api::make_object<td_api::groupCallParticipantVideoInfo>(vector<int32>(payload.sources), payload.endpoint,
|
||||
payload.json_payload);
|
||||
}
|
||||
|
||||
static vector<int32> get_group_call_video_sources(JsonValue &&value) {
|
||||
|
Loading…
Reference in New Issue
Block a user