From 552a0550c2af6b988a53614ca6406ddd7500fbd0 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 21 Aug 2020 20:53:39 +0300 Subject: [PATCH] Add two new call problems. GitOrigin-RevId: 036e7b52be8daa114fa919f560410b5edb09b461 --- td/generate/scheme/td_api.tl | 6 ++++++ td/generate/scheme/td_api.tlo | Bin 179748 -> 179884 bytes td/telegram/CallActor.cpp | 4 ++++ td/telegram/cli.cpp | 2 ++ 4 files changed, 12 insertions(+) diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 636194144..2e30bac18 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -1989,6 +1989,12 @@ callProblemSilentRemote = CallProblem; //@description The call ended unexpectedly callProblemDropped = CallProblem; +//@description The video was distorted +callProblemDistortedVideo = CallProblem; + +//@description The video was pixelated +callProblemPixelatedVideo = CallProblem; + //@description Describes a call @id Call identifier, not persistent @user_id Peer user identifier @is_outgoing True, if the call is outgoing @is_video True, if the call is a video call @state Call state call id:int32 user_id:int32 is_outgoing:Bool is_video:Bool state:CallState = Call; diff --git a/td/generate/scheme/td_api.tlo b/td/generate/scheme/td_api.tlo index 0af42c6b0e0a07a871d47786c1ab2e60d44f3801..876600ebc272616aeab4207820b61974c199ab67 100644 GIT binary patch delta 408 zcmZ4ThilDWt_@RI1ZObZ-@)yin3EGwl%JH7n#(zPB9r*$JuETWjMkea4Von-Kq_t? z6Y^mIf+A-&9S+;JgCMcVTRc^8OMdXw!7XXxg-5c&O9Qvg9rz@Fc&XImaxKX9AaGTV zD~2oSo0w!W!p|<5#U=SgC8;T4nJKCH3=G7Waam2Y4%v)=%!<^U#1ch*Ea7&ta;gPKH(!i~A2R_LkUbr39yvMtJk2mA? ZJ>E<$j;tW}GfZE|#3a8xrI*RW5CDY8S|k7f diff --git a/td/telegram/CallActor.cpp b/td/telegram/CallActor.cpp index e622d922e..838aba9a4 100644 --- a/td/telegram/CallActor.cpp +++ b/td/telegram/CallActor.cpp @@ -277,6 +277,10 @@ void CallActor::rate_call(int32 rating, string comment, vector> problems; problems.emplace_back(td_api::make_object()); problems.emplace_back(td_api::make_object()); + problems.emplace_back(td_api::make_object()); problems.emplace_back(nullptr); problems.emplace_back(td_api::make_object()); problems.emplace_back(td_api::make_object()); + problems.emplace_back(td_api::make_object()); problems.emplace_back(td_api::make_object()); send_request(td_api::make_object( as_call_id(call_id), to_integer(rating), "Wow, such good call! (TDLib test)", std::move(problems)));