mirror of
https://github.com/danog/tl-schema.git
synced 2025-01-22 13:41:18 +01:00
Add layer 019
This commit is contained in:
parent
2fbf17d1bb
commit
02d7c6c2e0
5
l019/README.md
Normal file
5
l019/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
### Version info
|
||||
App|Version/Hash|Date
|
||||
---|---|---
|
||||
TDesktop|868b9843b03c5eaa1b93c5a32f4a38ca93649d95|15.11.14
|
||||
Webogram|60df682f7994254b584195a1c95190cf99adc5d8|19.11.14
|
253
l019/schema.json
Normal file
253
l019/schema.json
Normal file
@ -0,0 +1,253 @@
|
||||
{
|
||||
"constructors": [
|
||||
{
|
||||
"id": "-748155807",
|
||||
"predicate": "contactStatus",
|
||||
"params": [
|
||||
{
|
||||
"name": "user_id",
|
||||
"type": "int"
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"type": "UserStatus"
|
||||
}
|
||||
],
|
||||
"type": "ContactStatus"
|
||||
},
|
||||
{
|
||||
"id": "-496024847",
|
||||
"predicate": "userStatusRecently",
|
||||
"params": [],
|
||||
"type": "UserStatus"
|
||||
},
|
||||
{
|
||||
"id": "129960444",
|
||||
"predicate": "userStatusLastWeek",
|
||||
"params": [],
|
||||
"type": "UserStatus"
|
||||
},
|
||||
{
|
||||
"id": "2011940674",
|
||||
"predicate": "userStatusLastMonth",
|
||||
"params": [],
|
||||
"type": "UserStatus"
|
||||
},
|
||||
{
|
||||
"id": "-298113238",
|
||||
"predicate": "updatePrivacy",
|
||||
"params": [
|
||||
{
|
||||
"name": "key",
|
||||
"type": "PrivacyKey"
|
||||
},
|
||||
{
|
||||
"name": "rules",
|
||||
"type": "Vector<PrivacyRule>"
|
||||
}
|
||||
],
|
||||
"type": "Update"
|
||||
},
|
||||
{
|
||||
"id": "1335282456",
|
||||
"predicate": "inputPrivacyKeyStatusTimestamp",
|
||||
"params": [],
|
||||
"type": "InputPrivacyKey"
|
||||
},
|
||||
{
|
||||
"id": "-1137792208",
|
||||
"predicate": "privacyKeyStatusTimestamp",
|
||||
"params": [],
|
||||
"type": "PrivacyKey"
|
||||
},
|
||||
{
|
||||
"id": "218751099",
|
||||
"predicate": "inputPrivacyValueAllowContacts",
|
||||
"params": [],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "407582158",
|
||||
"predicate": "inputPrivacyValueAllowAll",
|
||||
"params": [],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "320652927",
|
||||
"predicate": "inputPrivacyValueAllowUsers",
|
||||
"params": [
|
||||
{
|
||||
"name": "users",
|
||||
"type": "Vector<InputUser>"
|
||||
}
|
||||
],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "195371015",
|
||||
"predicate": "inputPrivacyValueDisallowContacts",
|
||||
"params": [],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "-697604407",
|
||||
"predicate": "inputPrivacyValueDisallowAll",
|
||||
"params": [],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "-1877932953",
|
||||
"predicate": "inputPrivacyValueDisallowUsers",
|
||||
"params": [
|
||||
{
|
||||
"name": "users",
|
||||
"type": "Vector<InputUser>"
|
||||
}
|
||||
],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "-123988",
|
||||
"predicate": "privacyValueAllowContacts",
|
||||
"params": [],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "1698855810",
|
||||
"predicate": "privacyValueAllowAll",
|
||||
"params": [],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "1297858060",
|
||||
"predicate": "privacyValueAllowUsers",
|
||||
"params": [
|
||||
{
|
||||
"name": "users",
|
||||
"type": "Vector<int>"
|
||||
}
|
||||
],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "-125240806",
|
||||
"predicate": "privacyValueDisallowContacts",
|
||||
"params": [],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "-1955338397",
|
||||
"predicate": "privacyValueDisallowAll",
|
||||
"params": [],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "209668535",
|
||||
"predicate": "privacyValueDisallowUsers",
|
||||
"params": [
|
||||
{
|
||||
"name": "users",
|
||||
"type": "Vector<int>"
|
||||
}
|
||||
],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "1430961007",
|
||||
"predicate": "account.privacyRules",
|
||||
"params": [
|
||||
{
|
||||
"name": "rules",
|
||||
"type": "Vector<PrivacyRule>"
|
||||
},
|
||||
{
|
||||
"name": "users",
|
||||
"type": "Vector<User>"
|
||||
}
|
||||
],
|
||||
"type": "account.PrivacyRules"
|
||||
},
|
||||
{
|
||||
"id": "-1194283041",
|
||||
"predicate": "accountDaysTTL",
|
||||
"params": [
|
||||
{
|
||||
"name": "days",
|
||||
"type": "int"
|
||||
}
|
||||
],
|
||||
"type": "AccountDaysTTL"
|
||||
}
|
||||
],
|
||||
"methods": [
|
||||
{
|
||||
"id": "-623130288",
|
||||
"method": "account.getPrivacy",
|
||||
"params": [
|
||||
{
|
||||
"name": "key",
|
||||
"type": "InputPrivacyKey"
|
||||
}
|
||||
],
|
||||
"type": "account.PrivacyRules"
|
||||
},
|
||||
{
|
||||
"id": "-906486552",
|
||||
"method": "account.setPrivacy",
|
||||
"params": [
|
||||
{
|
||||
"name": "key",
|
||||
"type": "InputPrivacyKey"
|
||||
},
|
||||
{
|
||||
"name": "rules",
|
||||
"type": "Vector<InputPrivacyRule>"
|
||||
}
|
||||
],
|
||||
"type": "account.PrivacyRules"
|
||||
},
|
||||
{
|
||||
"id": "1099779595",
|
||||
"method": "account.deleteAccount",
|
||||
"params": [
|
||||
{
|
||||
"name": "reason",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"type": "Bool"
|
||||
},
|
||||
{
|
||||
"id": "150761757",
|
||||
"method": "account.getAccountTTL",
|
||||
"params": [],
|
||||
"type": "AccountDaysTTL"
|
||||
},
|
||||
{
|
||||
"id": "608323678",
|
||||
"method": "account.setAccountTTL",
|
||||
"params": [
|
||||
{
|
||||
"name": "ttl",
|
||||
"type": "AccountDaysTTL"
|
||||
}
|
||||
],
|
||||
"type": "Bool"
|
||||
},
|
||||
{
|
||||
"id": "-627372787",
|
||||
"method": "invokeWithLayer",
|
||||
"params": [
|
||||
{
|
||||
"name": "layer",
|
||||
"type": "int"
|
||||
},
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
}
|
||||
]
|
||||
}
|
48
l019/schema.tl
Normal file
48
l019/schema.tl
Normal file
@ -0,0 +1,48 @@
|
||||
---types---
|
||||
// contactStatus#aa77b873 user_id:int expires:int = ContactStatus;
|
||||
contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus;
|
||||
userStatusRecently#e26f42f1 = UserStatus;
|
||||
userStatusLastWeek#7bf09fc = UserStatus;
|
||||
userStatusLastMonth#77ebc742 = UserStatus;
|
||||
updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;
|
||||
inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey;
|
||||
privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;
|
||||
inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;
|
||||
inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;
|
||||
inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;
|
||||
inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule;
|
||||
inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule;
|
||||
inputPrivacyValueDisallowUsers#90110467 users:Vector<InputUser> = InputPrivacyRule;
|
||||
privacyValueAllowContacts#fffe1bac = PrivacyRule;
|
||||
privacyValueAllowAll#65427b82 = PrivacyRule;
|
||||
privacyValueAllowUsers#4d5bbe0c users:Vector<int> = PrivacyRule;
|
||||
privacyValueDisallowContacts#f888fa1a = PrivacyRule;
|
||||
privacyValueDisallowAll#8b73e763 = PrivacyRule;
|
||||
privacyValueDisallowUsers#c7f49b7 users:Vector<int> = PrivacyRule;
|
||||
account.privacyRules#554abb6f rules:Vector<PrivacyRule> users:Vector<User> = account.PrivacyRules;
|
||||
accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;
|
||||
---functions---
|
||||
// invokeWithLayer1#53835315 query:!X = X;
|
||||
// invokeWithLayer2#289dd1f6 query:!X = X;
|
||||
// invokeWithLayer3#b7475268 query:!X = X;
|
||||
// invokeWithLayer4#dea0d430 query:!X = X;
|
||||
// invokeWithLayer5#417a57ae query:!X = X;
|
||||
// invokeWithLayer6#3a64d54d query:!X = X;
|
||||
// invokeWithLayer7#a5be56d3 query:!X = X;
|
||||
// invokeWithLayer8#e9abd9fd query:!X = X;
|
||||
// invokeWithLayer9#76715a63 query:!X = X;
|
||||
// invokeWithLayer10#39620c41 query:!X = X;
|
||||
// invokeWithLayer11#a6b88fdf query:!X = X;
|
||||
// invokeWithLayer12#dda60d3c query:!X = X;
|
||||
// invokeWithLayer13#427c8ea2 query:!X = X;
|
||||
// invokeWithLayer14#2b9b08fa query:!X = X;
|
||||
// invokeWithLayer15#b4418b64 query:!X = X;
|
||||
// invokeWithLayer16#cf5f0987 query:!X = X;
|
||||
// invokeWithLayer17#50858a19 query:!X = X;
|
||||
// invokeWithLayer18#1c900537 query:!X = X;
|
||||
account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules;
|
||||
account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector<InputPrivacyRule> = account.PrivacyRules;
|
||||
account.deleteAccount#418d4e0b reason:string = Bool;
|
||||
account.getAccountTTL#8fc711d = AccountDaysTTL;
|
||||
account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool;
|
||||
invokeWithLayer#da9b0d0d layer:int query:!X = X;
|
418
schema.json
418
schema.json
@ -1769,7 +1769,7 @@
|
||||
"type": "ContactSuggested"
|
||||
},
|
||||
{
|
||||
"id": "-1434994573",
|
||||
"id": "-748155807",
|
||||
"predicate": "contactStatus",
|
||||
"params": [
|
||||
{
|
||||
@ -1777,8 +1777,8 @@
|
||||
"type": "int"
|
||||
},
|
||||
{
|
||||
"name": "expires",
|
||||
"type": "int"
|
||||
"name": "status",
|
||||
"type": "UserStatus"
|
||||
}
|
||||
],
|
||||
"type": "ContactStatus"
|
||||
@ -4293,6 +4293,169 @@
|
||||
}
|
||||
],
|
||||
"type": "Update"
|
||||
},
|
||||
{
|
||||
"id": "-496024847",
|
||||
"predicate": "userStatusRecently",
|
||||
"params": [],
|
||||
"type": "UserStatus"
|
||||
},
|
||||
{
|
||||
"id": "129960444",
|
||||
"predicate": "userStatusLastWeek",
|
||||
"params": [],
|
||||
"type": "UserStatus"
|
||||
},
|
||||
{
|
||||
"id": "2011940674",
|
||||
"predicate": "userStatusLastMonth",
|
||||
"params": [],
|
||||
"type": "UserStatus"
|
||||
},
|
||||
{
|
||||
"id": "-298113238",
|
||||
"predicate": "updatePrivacy",
|
||||
"params": [
|
||||
{
|
||||
"name": "key",
|
||||
"type": "PrivacyKey"
|
||||
},
|
||||
{
|
||||
"name": "rules",
|
||||
"type": "Vector<PrivacyRule>"
|
||||
}
|
||||
],
|
||||
"type": "Update"
|
||||
},
|
||||
{
|
||||
"id": "1335282456",
|
||||
"predicate": "inputPrivacyKeyStatusTimestamp",
|
||||
"params": [],
|
||||
"type": "InputPrivacyKey"
|
||||
},
|
||||
{
|
||||
"id": "-1137792208",
|
||||
"predicate": "privacyKeyStatusTimestamp",
|
||||
"params": [],
|
||||
"type": "PrivacyKey"
|
||||
},
|
||||
{
|
||||
"id": "218751099",
|
||||
"predicate": "inputPrivacyValueAllowContacts",
|
||||
"params": [],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "407582158",
|
||||
"predicate": "inputPrivacyValueAllowAll",
|
||||
"params": [],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "320652927",
|
||||
"predicate": "inputPrivacyValueAllowUsers",
|
||||
"params": [
|
||||
{
|
||||
"name": "users",
|
||||
"type": "Vector<InputUser>"
|
||||
}
|
||||
],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "195371015",
|
||||
"predicate": "inputPrivacyValueDisallowContacts",
|
||||
"params": [],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "-697604407",
|
||||
"predicate": "inputPrivacyValueDisallowAll",
|
||||
"params": [],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "-1877932953",
|
||||
"predicate": "inputPrivacyValueDisallowUsers",
|
||||
"params": [
|
||||
{
|
||||
"name": "users",
|
||||
"type": "Vector<InputUser>"
|
||||
}
|
||||
],
|
||||
"type": "InputPrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "-123988",
|
||||
"predicate": "privacyValueAllowContacts",
|
||||
"params": [],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "1698855810",
|
||||
"predicate": "privacyValueAllowAll",
|
||||
"params": [],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "1297858060",
|
||||
"predicate": "privacyValueAllowUsers",
|
||||
"params": [
|
||||
{
|
||||
"name": "users",
|
||||
"type": "Vector<int>"
|
||||
}
|
||||
],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "-125240806",
|
||||
"predicate": "privacyValueDisallowContacts",
|
||||
"params": [],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "-1955338397",
|
||||
"predicate": "privacyValueDisallowAll",
|
||||
"params": [],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "209668535",
|
||||
"predicate": "privacyValueDisallowUsers",
|
||||
"params": [
|
||||
{
|
||||
"name": "users",
|
||||
"type": "Vector<int>"
|
||||
}
|
||||
],
|
||||
"type": "PrivacyRule"
|
||||
},
|
||||
{
|
||||
"id": "1430961007",
|
||||
"predicate": "account.privacyRules",
|
||||
"params": [
|
||||
{
|
||||
"name": "rules",
|
||||
"type": "Vector<PrivacyRule>"
|
||||
},
|
||||
{
|
||||
"name": "users",
|
||||
"type": "Vector<User>"
|
||||
}
|
||||
],
|
||||
"type": "account.PrivacyRules"
|
||||
},
|
||||
{
|
||||
"id": "-1194283041",
|
||||
"predicate": "accountDaysTTL",
|
||||
"params": [
|
||||
{
|
||||
"name": "days",
|
||||
"type": "int"
|
||||
}
|
||||
],
|
||||
"type": "AccountDaysTTL"
|
||||
}
|
||||
],
|
||||
"methods": [
|
||||
@ -4326,17 +4489,6 @@
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "1401115413",
|
||||
"method": "invokeWithLayer1",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "1877286395",
|
||||
"method": "auth.checkPhone",
|
||||
@ -5266,17 +5418,6 @@
|
||||
],
|
||||
"type": "photos.Photos"
|
||||
},
|
||||
{
|
||||
"id": "681431542",
|
||||
"method": "invokeWithLayer2",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "66319602",
|
||||
"method": "messages.forwardMessage",
|
||||
@ -5315,17 +5456,6 @@
|
||||
],
|
||||
"type": "messages.StatedMessages"
|
||||
},
|
||||
{
|
||||
"id": "-1220062616",
|
||||
"method": "invokeWithLayer3",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "2132356495",
|
||||
"method": "geochats.getLocated",
|
||||
@ -5554,50 +5684,6 @@
|
||||
],
|
||||
"type": "geochats.StatedMessage"
|
||||
},
|
||||
{
|
||||
"id": "-559885264",
|
||||
"method": "invokeWithLayer4",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "1098536878",
|
||||
"method": "invokeWithLayer5",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "979686733",
|
||||
"method": "invokeWithLayer6",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "-1514252589",
|
||||
"method": "invokeWithLayer7",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "651135312",
|
||||
"method": "messages.getDhConfig",
|
||||
@ -5764,17 +5850,6 @@
|
||||
],
|
||||
"type": "Vector<long>"
|
||||
},
|
||||
{
|
||||
"id": "-374613507",
|
||||
"method": "invokeWithLayer8",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "-562337987",
|
||||
"method": "upload.saveBigFilePart",
|
||||
@ -5829,89 +5904,12 @@
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "1987140195",
|
||||
"method": "invokeWithLayer9",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "962726977",
|
||||
"method": "invokeWithLayer10",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "-1497853985",
|
||||
"method": "invokeWithLayer11",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "-1663104819",
|
||||
"method": "help.getSupport",
|
||||
"params": [],
|
||||
"type": "help.Support"
|
||||
},
|
||||
{
|
||||
"id": "-576320196",
|
||||
"method": "invokeWithLayer12",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "1115459234",
|
||||
"method": "invokeWithLayer13",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "731580666",
|
||||
"method": "invokeWithLayer14",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "-1270772892",
|
||||
"method": "invokeWithLayer15",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "-841733627",
|
||||
"method": "auth.bindTempAuthKey",
|
||||
@ -5967,17 +5965,6 @@
|
||||
],
|
||||
"type": "Bool"
|
||||
},
|
||||
{
|
||||
"id": "-815855225",
|
||||
"method": "invokeWithLayer16",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "894131138",
|
||||
"method": "messages.readMessageContents",
|
||||
@ -5989,17 +5976,6 @@
|
||||
],
|
||||
"type": "Vector<int>"
|
||||
},
|
||||
{
|
||||
"id": "1350928921",
|
||||
"method": "invokeWithLayer17",
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
}
|
||||
],
|
||||
"type": "X"
|
||||
},
|
||||
{
|
||||
"id": "655677548",
|
||||
"method": "account.checkUsername",
|
||||
@ -6023,9 +5999,67 @@
|
||||
"type": "User"
|
||||
},
|
||||
{
|
||||
"id": "479200567",
|
||||
"method": "invokeWithLayer18",
|
||||
"id": "-623130288",
|
||||
"method": "account.getPrivacy",
|
||||
"params": [
|
||||
{
|
||||
"name": "key",
|
||||
"type": "InputPrivacyKey"
|
||||
}
|
||||
],
|
||||
"type": "account.PrivacyRules"
|
||||
},
|
||||
{
|
||||
"id": "-906486552",
|
||||
"method": "account.setPrivacy",
|
||||
"params": [
|
||||
{
|
||||
"name": "key",
|
||||
"type": "InputPrivacyKey"
|
||||
},
|
||||
{
|
||||
"name": "rules",
|
||||
"type": "Vector<InputPrivacyRule>"
|
||||
}
|
||||
],
|
||||
"type": "account.PrivacyRules"
|
||||
},
|
||||
{
|
||||
"id": "1099779595",
|
||||
"method": "account.deleteAccount",
|
||||
"params": [
|
||||
{
|
||||
"name": "reason",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"type": "Bool"
|
||||
},
|
||||
{
|
||||
"id": "150761757",
|
||||
"method": "account.getAccountTTL",
|
||||
"params": [],
|
||||
"type": "AccountDaysTTL"
|
||||
},
|
||||
{
|
||||
"id": "608323678",
|
||||
"method": "account.setAccountTTL",
|
||||
"params": [
|
||||
{
|
||||
"name": "ttl",
|
||||
"type": "AccountDaysTTL"
|
||||
}
|
||||
],
|
||||
"type": "Bool"
|
||||
},
|
||||
{
|
||||
"id": "-627372787",
|
||||
"method": "invokeWithLayer",
|
||||
"params": [
|
||||
{
|
||||
"name": "layer",
|
||||
"type": "int"
|
||||
},
|
||||
{
|
||||
"name": "query",
|
||||
"type": "!X"
|
||||
|
46
schema.tl
46
schema.tl
@ -116,7 +116,7 @@ importedContact#d0028438 user_id:int client_id:long = ImportedContact;
|
||||
contactBlocked#561bc879 user_id:int date:int = ContactBlocked;
|
||||
contactFound#ea879f95 user_id:int = ContactFound;
|
||||
contactSuggested#3de191a1 user_id:int mutual_contacts:int = ContactSuggested;
|
||||
contactStatus#aa77b873 user_id:int expires:int = ContactStatus;
|
||||
contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus;
|
||||
contacts.foreignLinkUnknown#133421f8 = contacts.ForeignLink;
|
||||
contacts.foreignLinkRequested#a7801f47 has_phone:Bool = contacts.ForeignLink;
|
||||
contacts.foreignLinkMutual#1bea8ce1 = contacts.ForeignLink;
|
||||
@ -270,10 +270,29 @@ sendMessageUploadDocumentAction#8faee98e = SendMessageAction;
|
||||
sendMessageGeoLocationAction#176f8ba1 = SendMessageAction;
|
||||
sendMessageChooseContactAction#628cbc6f = SendMessageAction;
|
||||
updateServiceNotification#382dd3e4 type:string message:string media:MessageMedia popup:Bool = Update;
|
||||
userStatusRecently#e26f42f1 = UserStatus;
|
||||
userStatusLastWeek#7bf09fc = UserStatus;
|
||||
userStatusLastMonth#77ebc742 = UserStatus;
|
||||
updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;
|
||||
inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey;
|
||||
privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;
|
||||
inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;
|
||||
inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;
|
||||
inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;
|
||||
inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule;
|
||||
inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule;
|
||||
inputPrivacyValueDisallowUsers#90110467 users:Vector<InputUser> = InputPrivacyRule;
|
||||
privacyValueAllowContacts#fffe1bac = PrivacyRule;
|
||||
privacyValueAllowAll#65427b82 = PrivacyRule;
|
||||
privacyValueAllowUsers#4d5bbe0c users:Vector<int> = PrivacyRule;
|
||||
privacyValueDisallowContacts#f888fa1a = PrivacyRule;
|
||||
privacyValueDisallowAll#8b73e763 = PrivacyRule;
|
||||
privacyValueDisallowUsers#c7f49b7 users:Vector<int> = PrivacyRule;
|
||||
account.privacyRules#554abb6f rules:Vector<PrivacyRule> users:Vector<User> = account.PrivacyRules;
|
||||
accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;
|
||||
---functions---
|
||||
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#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;
|
||||
@ -337,10 +356,8 @@ help.saveAppLog#6f02f748 events:Vector<InputAppEvent> = Bool;
|
||||
help.getInviteText#a4a95186 lang_code:string = help.InviteText;
|
||||
photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;
|
||||
photos.getUserPhotos#b7ee553c user_id:InputUser offset:int max_id:int limit:int = photos.Photos;
|
||||
invokeWithLayer2#289dd1f6 query:!X = X;
|
||||
messages.forwardMessage#3f3f4f2 peer:InputPeer id:int random_id:long = messages.StatedMessage;
|
||||
messages.sendBroadcast#41bb0972 contacts:Vector<InputUser> message:string media:InputMedia = messages.StatedMessages;
|
||||
invokeWithLayer3#b7475268 query:!X = X;
|
||||
geochats.getLocated#7f192d8f geo_point:InputGeoPoint radius:int limit:int = geochats.Located;
|
||||
geochats.getRecents#e1427e6f offset:int limit:int = geochats.Messages;
|
||||
geochats.checkin#55b3e8fb peer:InputGeoChat = geochats.StatedMessage;
|
||||
@ -353,10 +370,6 @@ geochats.setTyping#8b8a729 peer:InputGeoChat typing:Bool = Bool;
|
||||
geochats.sendMessage#61b0044 peer:InputGeoChat message:string random_id:long = geochats.StatedMessage;
|
||||
geochats.sendMedia#b8f0deff peer:InputGeoChat media:InputMedia random_id:long = geochats.StatedMessage;
|
||||
geochats.createGeoChat#e092e16 title:string geo_point:InputGeoPoint address:string venue:string = geochats.StatedMessage;
|
||||
invokeWithLayer4#dea0d430 query:!X = X;
|
||||
invokeWithLayer5#417a57ae query:!X = X;
|
||||
invokeWithLayer6#3a64d54d query:!X = X;
|
||||
invokeWithLayer7#a5be56d3 query:!X = X;
|
||||
messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig;
|
||||
messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat;
|
||||
messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;
|
||||
@ -367,24 +380,19 @@ messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:byte
|
||||
messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage;
|
||||
messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;
|
||||
messages.receivedQueue#55a5bb66 max_qts:int = Vector<long>;
|
||||
invokeWithLayer8#e9abd9fd query:!X = X;
|
||||
upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool;
|
||||
initConnection#69796de9 api_id:int device_model:string system_version:string app_version:string lang_code:string query:!X = X;
|
||||
invokeWithLayer9#76715a63 query:!X = X;
|
||||
invokeWithLayer10#39620c41 query:!X = X;
|
||||
invokeWithLayer11#a6b88fdf query:!X = X;
|
||||
help.getSupport#9cdf08cd = help.Support;
|
||||
invokeWithLayer12#dda60d3c query:!X = X;
|
||||
invokeWithLayer13#427c8ea2 query:!X = X;
|
||||
invokeWithLayer14#2b9b08fa query:!X = X;
|
||||
invokeWithLayer15#b4418b64 query:!X = X;
|
||||
auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool;
|
||||
contacts.exportCard#84e53737 = Vector<int>;
|
||||
contacts.importCard#4fe196fe export_card:Vector<int> = User;
|
||||
auth.sendSms#da9f3e8 phone_number:string phone_code_hash:string = Bool;
|
||||
invokeWithLayer16#cf5f0987 query:!X = X;
|
||||
messages.readMessageContents#354b5bc2 id:Vector<int> = Vector<int>;
|
||||
invokeWithLayer17#50858a19 query:!X = X;
|
||||
account.checkUsername#2714d86c username:string = Bool;
|
||||
account.updateUsername#3e0bdd7c username:string = User;
|
||||
invokeWithLayer18#1c900537 query:!X = X;
|
||||
account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules;
|
||||
account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector<InputPrivacyRule> = account.PrivacyRules;
|
||||
account.deleteAccount#418d4e0b reason:string = Bool;
|
||||
account.getAccountTTL#8fc711d = AccountDaysTTL;
|
||||
account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool;
|
||||
invokeWithLayer#da9b0d0d layer:int query:!X = X;
|
||||
|
Loading…
x
Reference in New Issue
Block a user