1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-12-02 17:28:32 +01:00
tl-schema/l016/schema.json
Viktor Oreshkin 5be49cb872 Add layer 016
2017-08-16 15:13:37 +03:00

95 lines
1.7 KiB
JSON

{
"constructors": [
{
"id": "-484053553",
"predicate": "auth.sentAppCode",
"params": [
{
"name": "phone_registered",
"type": "Bool"
},
{
"name": "phone_code_hash",
"type": "string"
},
{
"name": "send_call_timeout",
"type": "int"
},
{
"name": "is_password",
"type": "Bool"
}
],
"type": "auth.SentCode"
}
],
"methods": [
{
"id": "-841733627",
"method": "auth.bindTempAuthKey",
"params": [
{
"name": "perm_auth_key_id",
"type": "long"
},
{
"name": "nonce",
"type": "long"
},
{
"name": "expires_at",
"type": "int"
},
{
"name": "encrypted_message",
"type": "bytes"
}
],
"type": "Bool"
},
{
"id": "-2065352905",
"method": "contacts.exportCard",
"params": [],
"type": "Vector<int>"
},
{
"id": "1340184318",
"method": "contacts.importCard",
"params": [
{
"name": "export_card",
"type": "Vector<int>"
}
],
"type": "User"
},
{
"id": "229241832",
"method": "auth.sendSms",
"params": [
{
"name": "phone_number",
"type": "string"
},
{
"name": "phone_code_hash",
"type": "string"
}
],
"type": "Bool"
},
{
"id": "-815855225",
"method": "invokeWithLayer16",
"params": [
{
"name": "query",
"type": "!X"
}
],
"type": "X"
}
]
}