Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TDLib schema to the latest layer #750

Merged
merged 1 commit into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions _schema/tdapi.tl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Code generated by ./cmd/dltl, DO NOT EDIT.
//
// Source: https://raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl
// SHA256: c962ca97c261404ef748cfe14acda90b0ce7d94c3a8918a7af71d80b9ec9eb5e
// SHA256: 1859f34f5cf0474a4505f6041e95c3edd09ab149edd136d7a9ef5ded14a8051b

double#2210c154 ? = Double;

Expand Down Expand Up @@ -2898,7 +2898,8 @@ callStateHangingUp#80d0f2aa = CallState;
//@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#f49fcfd1 reason:CallDiscardReason need_rating:Bool need_debug_information:Bool = CallState;
//@need_log True, if the call log must be sent to the server
callStateDiscarded#531b7c45 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
Expand Down Expand Up @@ -6752,11 +6753,16 @@ discardCall#95a9a57e call_id:int32 is_disconnected:Bool duration:int32 is_video:
//@problems List of the exact types of problems with the call, specified by the user
sendCallRating#d89b576c call_id:int32 rating:int32 comment:string problems:vector<CallProblem> = Ok;

//@description Sends debug information for a call
//@description Sends debug information for a call to Telegram servers
//@call_id Call identifier
//@debug_information Debug information in application-specific format
sendCallDebugInformation#785b373f 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#3f0a47d1 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#c45da305 chat_id:int53 = MessageSenders;
Expand Down Expand Up @@ -6960,7 +6966,7 @@ changeImportedContacts#24885905 contacts:vector<contact> = ImportedContacts;
//@description Clears all imported contacts, contact list remains unchanged
clearImportedContacts#33d39142 = Ok;

//@description Searches a user by their phone number
//@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#a2e22b12 phone_number:string = User;

Expand Down
80 changes: 57 additions & 23 deletions tdapi/tl_call_state_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion tdapi/tl_registry_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading