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

9 lines
472 B
Plaintext

---types---
account.noPassword#5770e7a9 new_salt:bytes = account.Password;
account.password#739e5f72 current_salt:bytes new_salt:bytes hint:string = account.Password;
---functions---
account.updateDeviceLocked#38df3532 period:int = Bool;
account.getPassword#548a30f5 = account.Password;
account.setPassword#dd2a4d8f current_password_hash:bytes new_salt:bytes new_password_hash:bytes hint:string = Bool;
auth.checkPassword#a63011e password_hash:bytes = auth.Authorization;