Skip to content

Commit

Permalink
Merge pull request #948 from gotd/feat/update-tdlib-schema
Browse files Browse the repository at this point in the history
Update TDLib schema to the latest layer
  • Loading branch information
ernado committed Dec 29, 2022
2 parents 97ad6aa + a8629d1 commit c20847a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions _schema/tdapi.tl
@@ -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: ead1813e571af726b02735220e3f9c559e18aab0d42ebd7b87307e20656e8fe8
// SHA256: 8efbcba103e345a7bbd47175346c5e8b77038eca5c6b607b698e9ea3eaa7836f

double#2210c154 ? = Double;

Expand Down Expand Up @@ -104,43 +104,43 @@ termsOfService#2c12b185 text:formattedText min_user_age:int32 show_popup:Bool =

//@class AuthorizationState @description Represents the current authorization state of the TDLib client

//@description Initializetion parameters are needed. Call `setTdlibParameters` to provide them
//@description Initializetion parameters are needed. Call setTdlibParameters to provide them
authorizationStateWaitTdlibParameters#35ecf25c = AuthorizationState;

//@description TDLib needs the user's phone number to authorize. Call `setAuthenticationPhoneNumber` to provide the phone number, or use `requestQrCodeAuthentication`, or `checkAuthenticationBotToken` for other authentication options
//@description TDLib needs the user's phone number to authorize. Call setAuthenticationPhoneNumber to provide the phone number, or use requestQrCodeAuthentication or checkAuthenticationBotToken for other authentication options
authorizationStateWaitPhoneNumber#124354e3 = AuthorizationState;

//@description TDLib needs the user's email address to authorize. Call `setAuthenticationEmailAddress` to provide the email address, or directly call `checkAuthenticationEmailCode` with Apple ID/Google ID token if allowed
//@description TDLib needs the user's email address to authorize. Call setAuthenticationEmailAddress to provide the email address, or directly call checkAuthenticationEmailCode with Apple ID/Google ID token if allowed
//@allow_apple_id True, if authorization through Apple ID is allowed
//@allow_google_id True, if authorization through Google ID is allowed
authorizationStateWaitEmailAddress#3e0471c7 allow_apple_id:Bool allow_google_id:Bool = AuthorizationState;

//@description TDLib needs the user's authentication code sent to an email address to authorize. Call `checkAuthenticationEmailCode` to provide the code
//@description TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code
//@allow_apple_id True, if authorization through Apple ID is allowed
//@allow_google_id True, if authorization through Google ID is allowed
//@code_info Information about the sent authentication code
//@next_phone_number_authorization_date Point in time (Unix timestamp) when the user will be able to authorize with a code sent to the user's phone number; 0 if unknown
authorizationStateWaitEmailCode#a6308e9 allow_apple_id:Bool allow_google_id:Bool code_info:emailAddressAuthenticationCodeInfo next_phone_number_authorization_date:int32 = AuthorizationState;

//@description TDLib needs the user's authentication code to authorize
//@description TDLib needs the user's authentication code to authorize. Call checkAuthenticationCode to check the code
//@code_info Information about the authorization code that was sent
authorizationStateWaitCode#3234501 code_info:authenticationCodeInfo = AuthorizationState;

//@description The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link
//@link A tg:// URL for the QR code. The link will be updated frequently
authorizationStateWaitOtherDeviceConfirmation#334518ea link:string = AuthorizationState;

//@description The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration
//@description The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration. Call registerUser to accept the terms of service and provide the data
//@terms_of_service Telegram terms of service
authorizationStateWaitRegistration#20cdaeaf terms_of_service:termsOfService = AuthorizationState;

//@description The user has been authorized, but needs to enter a 2-step verification password to start using the application
//@description The user has been authorized, but needs to enter a 2-step verification password to start using the application.
//@password_hint Hint for the password; may be empty
//@has_recovery_email_address True, if a recovery email address has been set up
//@recovery_email_address_pattern Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent
authorizationStateWaitPassword#b2dc47c password_hint:string has_recovery_email_address:Bool recovery_email_address_pattern:string = AuthorizationState;

//@description The user has been successfully authorized. TDLib is now ready to answer queries
//@description The user has been successfully authorized. TDLib is now ready to answer general requests
authorizationStateReady#92a21447 = AuthorizationState;

//@description The user is currently logging out
Expand Down Expand Up @@ -6050,7 +6050,7 @@ getPasswordState#f5957b78 = PasswordState;
//@new_recovery_email_address New recovery email address; may be empty
setPassword#b8db46dd old_password:string new_password:string new_hint:string set_recovery_email_address:Bool new_recovery_email_address:string = PasswordState;

//@description Changes the login email address of the user. The change will not be applied until the new login email address is confirmed with `checkLoginEmailAddressCode`. To use Apple ID/Google ID instead of a email address, call `checkLoginEmailAddressCode` directly
//@description Changes the login email address of the user. The change will not be applied until the new login email address is confirmed with checkLoginEmailAddressCode. To use Apple ID/Google ID instead of a email address, call checkLoginEmailAddressCode directly
//@new_login_email_address New login email address
setLoginEmailAddress#37bb43d4 new_login_email_address:string = EmailAddressAuthenticationCodeInfo;

Expand Down

0 comments on commit c20847a

Please sign in to comment.