mirror of
https://github.com/danog/tl-schema.git
synced 2025-01-07 13:41:15 +01:00
28 lines
2.3 KiB
Plaintext
28 lines
2.3 KiB
Plaintext
---types---
|
|
// auth.sentAppCode#e325edcf phone_registered:Bool phone_code_hash:string send_call_timeout:int is_password:Bool = auth.SentCode;
|
|
// account.sentChangePhoneCode#a4f58c4c phone_code_hash:string send_call_timeout:int = account.SentChangePhoneCode;
|
|
// auth.sentCode#efed51d9 phone_registered:Bool phone_code_hash:string send_call_timeout:int is_password:Bool = auth.SentCode;
|
|
auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode;
|
|
// replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector<KeyboardButtonRow> = ReplyMarkup;
|
|
replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true inline:flags.3?true rows:Vector<KeyboardButtonRow> = ReplyMarkup;
|
|
keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;
|
|
keyboardButtonCallback#2aae4183 text:string = KeyboardButton;
|
|
keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton;
|
|
keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton;
|
|
auth.codeTypeSms#72a3158c = auth.CodeType;
|
|
auth.codeTypeCall#741cd3e3 = auth.CodeType;
|
|
auth.codeTypeFlashCall#226ccefb = auth.CodeType;
|
|
auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType;
|
|
auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType;
|
|
auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType;
|
|
auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType;
|
|
---functions---
|
|
// auth.sendCall#3c51564 phone_number:string phone_code_hash:string = Bool;
|
|
// auth.sendSms#da9f3e8 phone_number:string phone_code_hash:string = Bool;
|
|
// auth.sendCode#768d5f4d phone_number:string sms_type:int api_id:int api_hash:string lang_code:string = auth.SentCode;
|
|
auth.sendCode#ccfd70cf flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string lang_code:string = auth.SentCode;
|
|
// account.sendChangePhoneCode#a407a8f4 phone_number:string = account.SentChangePhoneCode;
|
|
account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode;
|
|
auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode;
|
|
auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool;
|