1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-12-12 09:29:50 +01:00
tl-schema/l024/schema.json
Viktor Oreshkin 896b7da28e Add layer 024
2017-08-16 15:13:54 +03:00

87 lines
1.6 KiB
JSON

{
"constructors": [
{
"id": "1467017129",
"predicate": "account.noPassword",
"params": [
{
"name": "new_salt",
"type": "bytes"
}
],
"type": "account.Password"
},
{
"id": "1939758962",
"predicate": "account.password",
"params": [
{
"name": "current_salt",
"type": "bytes"
},
{
"name": "new_salt",
"type": "bytes"
},
{
"name": "hint",
"type": "string"
}
],
"type": "account.Password"
}
],
"methods": [
{
"id": "954152242",
"method": "account.updateDeviceLocked",
"params": [
{
"name": "period",
"type": "int"
}
],
"type": "Bool"
},
{
"id": "1418342645",
"method": "account.getPassword",
"params": [],
"type": "account.Password"
},
{
"id": "-584430193",
"method": "account.setPassword",
"params": [
{
"name": "current_password_hash",
"type": "bytes"
},
{
"name": "new_salt",
"type": "bytes"
},
{
"name": "new_password_hash",
"type": "bytes"
},
{
"name": "hint",
"type": "string"
}
],
"type": "Bool"
},
{
"id": "174260510",
"method": "auth.checkPassword",
"params": [
{
"name": "password_hash",
"type": "bytes"
}
],
"type": "auth.Authorization"
}
]
}