From 90a414b63b09c495990e42a6252c6ac722ae8063 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 25 Apr 2022 23:14:34 +0000 Subject: [PATCH] Update content of files --- .../tdlib/td/master/td/generate/scheme/td_api.tl | 11 +++++++---- .../td/master/td/generate/scheme/telegram_api.tl | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl b/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl index 123cbf10aa..1c94aaf1a5 100644 --- a/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl +++ b/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl @@ -2339,8 +2339,8 @@ callStateReady protocol:callProtocol servers:vector config:string en //@description The call is hanging up after discardCall has been called callStateHangingUp = CallState; -//@description The call has ended successfully @reason The reason, why the call has ended @need_rating True, if the call rating must be sent to the server @need_debug_information True, if the call debug information must be sent to the server -callStateDiscarded reason:CallDiscardReason need_rating:Bool need_debug_information:Bool = CallState; +//@description The call has ended successfully @reason The reason, why the call has ended @need_rating True, if the call rating must be sent to the server @need_debug_information True, if the call debug information must be sent to the server @need_log True, if the call log must be sent to the server +callStateDiscarded reason:CallDiscardReason need_rating:Bool need_debug_information:Bool need_log:Bool = CallState; //@description The call has ended with an error @error Error. An error with the code 4005000 will be returned if an outgoing call is missed because of an expired timeout callStateError error:error = CallState; @@ -5421,9 +5421,12 @@ discardCall call_id:int32 is_disconnected:Bool duration:int32 is_video:Bool conn //@description Sends a call rating @call_id Call identifier @rating Call rating; 1-5 @comment An optional user comment if the rating is less than 5 @problems List of the exact types of problems with the call, specified by the user sendCallRating call_id:int32 rating:int32 comment:string problems:vector = Ok; -//@description Sends debug information for a call @call_id Call identifier @debug_information Debug information in application-specific format +//@description Sends debug information for a call to Telegram servers @call_id Call identifier @debug_information Debug information in application-specific format sendCallDebugInformation call_id:int32 debug_information:string = Ok; +//@description Sends log file for a call to Telegram servers @call_id Call identifier @log_file Call log file. Only inputFileLocal and inputFileGenerated are supported +sendCallLog call_id:int32 log_file:InputFile = Ok; + //@description Returns list of participant identifiers, on whose behalf a video chat in the chat can be joined @chat_id Chat identifier getVideoChatAvailableParticipants chat_id:int53 = MessageSenders; @@ -5589,7 +5592,7 @@ changeImportedContacts contacts:vector = ImportedContacts; clearImportedContacts = Ok; -//@description Searches a user by their phone number @phone_number Phone number to search for +//@description Searches a user by their phone number. Returns a 404 error if the user can't be found @phone_number Phone number to search for searchUserByPhoneNumber phone_number:string = User; //@description Shares the phone number of the current user with a mutual contact. Supposed to be called when the user clicks on chatActionBarSharePhoneNumber @user_id Identifier of the user with whom to share the phone number. The user must be a mutual contact diff --git a/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/telegram_api.tl b/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/telegram_api.tl index 6ecfd1bfd7..5d6f3d2b10 100644 --- a/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/telegram_api.tl +++ b/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/telegram_api.tl @@ -1797,6 +1797,7 @@ phone.joinGroupCallPresentation#cbea6bc4 call:InputGroupCall params:DataJSON = U phone.leaveGroupCallPresentation#1c50d144 call:InputGroupCall = Updates; phone.getGroupCallStreamChannels#1ab21940 call:InputGroupCall = phone.GroupCallStreamChannels; phone.getGroupCallStreamRtmpUrl#deb3abbf peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl; +phone.saveCallLog#41248786 peer:InputPhoneCall file:InputFile = Bool; langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector;