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 0af42c6b0..876600ebc 100644 Binary files a/td/generate/scheme/td_api.tlo and b/td/generate/scheme/td_api.tlo differ 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)));