Update API scheme.

This commit is contained in:
John Preston
2021-04-01 15:58:39 +04:00
parent 1cc1f380d0
commit 7cbe158d00
10 changed files with 91 additions and 28 deletions
@@ -328,8 +328,11 @@ bool GroupCall::showChooseJoinAs() const {
void GroupCall::start() {
_createRequestId = _api.request(MTPphone_CreateGroupCall(
MTP_flags(0),
_peer->input,
MTP_int(openssl::RandomValue<int32>())
MTP_int(openssl::RandomValue<int32>()),
MTPstring(), // title
MTPint() // schedule_date
)).done([=](const MTPUpdates &result) {
_acceptFields = true;
_peer->session().api().applyUpdates(result);