mirror of
https://github.com/danog/tl-schema.git
synced 2024-11-26 20:04:52 +01:00
Add layer 005
This commit is contained in:
parent
9ad868c8d2
commit
c7cb2318bf
4
l005/README.md
Normal file
4
l005/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
### Version info
|
||||
App|Version/Hash|Date
|
||||
---|---|---
|
||||
WebArchive|[19 Nov 2013 capture](http://web.archive.org/web/20131119062309/https://core.telegram.org/schema)|n/a
|
78
l005/schema.json
Normal file
78
l005/schema.json
Normal file
@ -0,0 +1,78 @@
|
||||
{
|
||||
"constructors": [],
|
||||
"methods": [
|
||||
{
|
||||
"id": "1988976461",
|
||||
"method": "auth.sendCode",
|
||||
"params": [
|
||||
{
|
||||
"name": "phone_number",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "sms_type",
|
||||
"type": "int"
|
||||
},
|
||||
{
|
||||
"name": "api_id",
|
||||
"type": "int"
|
||||
},
|
||||
{
|
||||
"name": "api_hash",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "lang_code",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"type": "auth.SentCode"
|
||||
},
|
||||
{
|
||||
"id": "1147957548",
|
||||
"method": "account.registerDevice",
|
||||
"params": [
|
||||
{
|
||||
"name": "token_type",
|
||||
"type": "int"
|
||||
},
|
||||
{
|
||||
"name": "token",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "device_model",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "system_version",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "app_version",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "app_sandbox",
|
||||
"type": "Bool"
|
||||
},
|
||||
{
|
||||
"name": "lang_code",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"type": "Bool"
|
||||
},
|
||||
{
|
||||
"id": "1098536878",
|
||||
"method": "invokeWithLayer5",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
}
|
||||
]
|
||||
}
|
7
l005/schema.tl
Normal file
7
l005/schema.tl
Normal file
@ -0,0 +1,7 @@
|
||||
---types---
|
||||
---functions---
|
||||
// auth.sendCode#d16ff372 phone_number:string sms_type:int api_id:int api_hash:string = auth.SentCode;
|
||||
auth.sendCode#768d5f4d phone_number:string sms_type:int api_id:int api_hash:string lang_code:string = auth.SentCode;
|
||||
// account.registerDevice#a28557ac token_type:int token:string device_model:string system_version:string app_version:string app_sandbox:Bool = Bool;
|
||||
account.registerDevice#446c712c token_type:int token:string device_model:string system_version:string app_version:string app_sandbox:Bool lang_code:string = Bool;
|
||||
invokeWithLayer5#417a57ae query:!X = X;
|
23
schema.json
23
schema.json
@ -3294,7 +3294,7 @@
|
||||
"type": "auth.CheckedPhone"
|
||||
},
|
||||
{
|
||||
"id": "-781192334",
|
||||
"id": "1988976461",
|
||||
"method": "auth.sendCode",
|
||||
"params": [
|
||||
{
|
||||
@ -3312,6 +3312,10 @@
|
||||
{
|
||||
"name": "api_hash",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "lang_code",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"type": "auth.SentCode"
|
||||
@ -3431,7 +3435,7 @@
|
||||
"type": "auth.Authorization"
|
||||
},
|
||||
{
|
||||
"id": "-1568319572",
|
||||
"id": "1147957548",
|
||||
"method": "account.registerDevice",
|
||||
"params": [
|
||||
{
|
||||
@ -3457,6 +3461,10 @@
|
||||
{
|
||||
"name": "app_sandbox",
|
||||
"type": "Bool"
|
||||
},
|
||||
{
|
||||
"name": "lang_code",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"type": "Bool"
|
||||
@ -4489,6 +4497,17 @@
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "1098536878",
|
||||
"method": "invokeWithLayer5",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
}
|
||||
]
|
||||
}
|
@ -207,7 +207,7 @@ invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
|
||||
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
|
||||
invokeWithLayer1#53835315 query:!X = X;
|
||||
auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone;
|
||||
auth.sendCode#d16ff372 phone_number:string sms_type:int api_id:int api_hash:string = auth.SentCode;
|
||||
auth.sendCode#768d5f4d phone_number:string sms_type:int api_id:int api_hash:string lang_code:string = auth.SentCode;
|
||||
auth.sendCall#3c51564 phone_number:string phone_code_hash:string = Bool;
|
||||
auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization;
|
||||
auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization;
|
||||
@ -216,7 +216,7 @@ auth.resetAuthorizations#9fab0d1a = Bool;
|
||||
auth.sendInvites#771c1d97 phone_numbers:Vector<string> message:string = Bool;
|
||||
auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization;
|
||||
auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization;
|
||||
account.registerDevice#a28557ac token_type:int token:string device_model:string system_version:string app_version:string app_sandbox:Bool = Bool;
|
||||
account.registerDevice#446c712c token_type:int token:string device_model:string system_version:string app_version:string app_sandbox:Bool lang_code:string = Bool;
|
||||
account.unregisterDevice#65c55b40 token_type:int token:string = Bool;
|
||||
account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool;
|
||||
account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;
|
||||
@ -286,3 +286,4 @@ geochats.sendMessage#61b0044 peer:InputGeoChat message:string random_id:long = g
|
||||
geochats.sendMedia#b8f0deff peer:InputGeoChat media:InputMedia random_id:long = geochats.StatedMessage;
|
||||
geochats.createGeoChat#745f22cb title:string geo_point:InputGeoPoint address:string = geochats.StatedMessage;
|
||||
invokeWithLayer4#dea0d430 query:!X = X;
|
||||
invokeWithLayer5#417a57ae query:!X = X;
|
||||
|
Loading…
Reference in New Issue
Block a user