tdlight/td/telegram/GroupCallVideoPayload.h

30 lines
802 B
C
Raw Normal View History

2021-01-12 15:05:25 +01:00
//
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2021
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#pragma once
#include "td/telegram/td_api.h"
2021-01-12 15:05:25 +01:00
#include "td/utils/common.h"
#include "td/utils/Status.h"
2021-01-12 15:05:25 +01:00
namespace td {
struct GroupCallVideoPayload {
vector<int32> sources;
string endpoint;
string json_payload;
};
bool operator==(const GroupCallVideoPayload &lhs, const GroupCallVideoPayload &rhs);
td_api::object_ptr<td_api::groupCallParticipantVideoInfo> get_group_call_participant_video_info_object(
const GroupCallVideoPayload &payload);
GroupCallVideoPayload get_group_call_video_payload(string json);
2021-01-12 15:05:25 +01:00
} // namespace td