mirror of
https://github.com/danog/tl-schema.git
synced 2024-12-02 09:18:01 +01:00
Add layer 043
This commit is contained in:
parent
2ae8d97229
commit
fcbf20663e
4
l043/README.md
Normal file
4
l043/README.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
### Version info
|
||||||
|
App|Version/Hash|Date
|
||||||
|
---|---|---
|
||||||
|
TDesktop|ed3601f8839077635cf55d1681706b27056edf1c|02.12.15
|
137
l043/schema.json
Normal file
137
l043/schema.json
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
{
|
||||||
|
"constructors": [
|
||||||
|
{
|
||||||
|
"id": "-302170017",
|
||||||
|
"predicate": "messages.allStickers",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "hash",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sets",
|
||||||
|
"type": "Vector<StickerSet>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "messages.AllStickers"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1490799288",
|
||||||
|
"predicate": "inputReportReasonSpam",
|
||||||
|
"params": [],
|
||||||
|
"type": "ReportReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "505595789",
|
||||||
|
"predicate": "inputReportReasonViolence",
|
||||||
|
"params": [],
|
||||||
|
"type": "ReportReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "777640226",
|
||||||
|
"predicate": "inputReportReasonPornography",
|
||||||
|
"params": [],
|
||||||
|
"type": "ReportReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-512463606",
|
||||||
|
"predicate": "inputReportReasonOther",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "text",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "ReportReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1753886890",
|
||||||
|
"predicate": "updateNewStickerSet",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "stickerset",
|
||||||
|
"type": "messages.StickerSet"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Update"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-253774767",
|
||||||
|
"predicate": "updateStickerSetsOrder",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "order",
|
||||||
|
"type": "Vector<long>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Update"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1135492588",
|
||||||
|
"predicate": "updateStickerSets",
|
||||||
|
"params": [],
|
||||||
|
"type": "Update"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-236044656",
|
||||||
|
"predicate": "help.termsOfService",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "text",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "help.TermsOfService"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"id": "479598769",
|
||||||
|
"method": "messages.getAllStickers",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "hash",
|
||||||
|
"type": "int"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "messages.AllStickers"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-1374118561",
|
||||||
|
"method": "account.reportPeer",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "peer",
|
||||||
|
"type": "InputPeer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "reason",
|
||||||
|
"type": "ReportReason"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Bool"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-1613775824",
|
||||||
|
"method": "messages.reorderStickerSets",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "order",
|
||||||
|
"type": "Vector<long>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Bool"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "936873859",
|
||||||
|
"method": "help.getTermsOfService",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "lang_code",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "help.TermsOfService"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
17
l043/schema.tl
Normal file
17
l043/schema.tl
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---types---
|
||||||
|
// messages.allStickers#d51dafdb hash:string sets:Vector<StickerSet> = messages.AllStickers;
|
||||||
|
messages.allStickers#edfd405f hash:int sets:Vector<StickerSet> = messages.AllStickers;
|
||||||
|
inputReportReasonSpam#58dbcab8 = ReportReason;
|
||||||
|
inputReportReasonViolence#1e22c78d = ReportReason;
|
||||||
|
inputReportReasonPornography#2e59d922 = ReportReason;
|
||||||
|
inputReportReasonOther#e1746d0a text:string = ReportReason;
|
||||||
|
updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update;
|
||||||
|
updateStickerSetsOrder#f0dfb451 order:Vector<long> = Update;
|
||||||
|
updateStickerSets#43ae3dec = Update;
|
||||||
|
help.termsOfService#f1ee3e90 text:string = help.TermsOfService;
|
||||||
|
---functions---
|
||||||
|
// messages.getAllStickers#aa3bc868 hash:string = messages.AllStickers;
|
||||||
|
messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers;
|
||||||
|
account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool;
|
||||||
|
messages.reorderStickerSets#9fcfbc30 order:Vector<long> = Bool;
|
||||||
|
help.getTermsOfService#37d78f83 lang_code:string = help.TermsOfService;
|
113
schema.json
113
schema.json
@ -3980,12 +3980,12 @@
|
|||||||
"type": "messages.AllStickers"
|
"type": "messages.AllStickers"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "-719474725",
|
"id": "-302170017",
|
||||||
"predicate": "messages.allStickers",
|
"predicate": "messages.allStickers",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "hash",
|
"name": "hash",
|
||||||
"type": "string"
|
"type": "int"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sets",
|
"name": "sets",
|
||||||
@ -6034,6 +6034,74 @@
|
|||||||
"predicate": "channelParticipantsBots",
|
"predicate": "channelParticipantsBots",
|
||||||
"params": [],
|
"params": [],
|
||||||
"type": "ChannelParticipantsFilter"
|
"type": "ChannelParticipantsFilter"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1490799288",
|
||||||
|
"predicate": "inputReportReasonSpam",
|
||||||
|
"params": [],
|
||||||
|
"type": "ReportReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "505595789",
|
||||||
|
"predicate": "inputReportReasonViolence",
|
||||||
|
"params": [],
|
||||||
|
"type": "ReportReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "777640226",
|
||||||
|
"predicate": "inputReportReasonPornography",
|
||||||
|
"params": [],
|
||||||
|
"type": "ReportReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-512463606",
|
||||||
|
"predicate": "inputReportReasonOther",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "text",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "ReportReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1753886890",
|
||||||
|
"predicate": "updateNewStickerSet",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "stickerset",
|
||||||
|
"type": "messages.StickerSet"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Update"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-253774767",
|
||||||
|
"predicate": "updateStickerSetsOrder",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "order",
|
||||||
|
"type": "Vector<long>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Update"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1135492588",
|
||||||
|
"predicate": "updateStickerSets",
|
||||||
|
"params": [],
|
||||||
|
"type": "Update"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-236044656",
|
||||||
|
"predicate": "help.termsOfService",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "text",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "help.TermsOfService"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"methods": [
|
"methods": [
|
||||||
@ -7501,12 +7569,12 @@
|
|||||||
"type": "messages.Stickers"
|
"type": "messages.Stickers"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "-1438922648",
|
"id": "479598769",
|
||||||
"method": "messages.getAllStickers",
|
"method": "messages.getAllStickers",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "hash",
|
"name": "hash",
|
||||||
"type": "string"
|
"type": "int"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "messages.AllStickers"
|
"type": "messages.AllStickers"
|
||||||
@ -8317,6 +8385,43 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "messages.Messages"
|
"type": "messages.Messages"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-1374118561",
|
||||||
|
"method": "account.reportPeer",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "peer",
|
||||||
|
"type": "InputPeer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "reason",
|
||||||
|
"type": "ReportReason"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Bool"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-1613775824",
|
||||||
|
"method": "messages.reorderStickerSets",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "order",
|
||||||
|
"type": "Vector<long>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Bool"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "936873859",
|
||||||
|
"method": "help.getTermsOfService",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "lang_code",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "help.TermsOfService"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
15
schema.tl
15
schema.tl
@ -258,7 +258,7 @@ messages.stickersNotModified#f1749a22 = messages.Stickers;
|
|||||||
messages.stickers#8a8ecd32 hash:string stickers:Vector<Document> = messages.Stickers;
|
messages.stickers#8a8ecd32 hash:string stickers:Vector<Document> = messages.Stickers;
|
||||||
stickerPack#12b299d4 emoticon:string documents:Vector<long> = StickerPack;
|
stickerPack#12b299d4 emoticon:string documents:Vector<long> = StickerPack;
|
||||||
messages.allStickersNotModified#e86602c3 = messages.AllStickers;
|
messages.allStickersNotModified#e86602c3 = messages.AllStickers;
|
||||||
messages.allStickers#d51dafdb hash:string sets:Vector<StickerSet> = messages.AllStickers;
|
messages.allStickers#edfd405f hash:int sets:Vector<StickerSet> = messages.AllStickers;
|
||||||
account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password;
|
account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password;
|
||||||
account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password;
|
account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password;
|
||||||
contactSuggested#3de191a1 user_id:int mutual_contacts:int = ContactSuggested;
|
contactSuggested#3de191a1 user_id:int mutual_contacts:int = ContactSuggested;
|
||||||
@ -369,6 +369,14 @@ updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool versio
|
|||||||
messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction;
|
messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction;
|
||||||
messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction;
|
messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction;
|
||||||
channelParticipantsBots#b0d1865b = ChannelParticipantsFilter;
|
channelParticipantsBots#b0d1865b = ChannelParticipantsFilter;
|
||||||
|
inputReportReasonSpam#58dbcab8 = ReportReason;
|
||||||
|
inputReportReasonViolence#1e22c78d = ReportReason;
|
||||||
|
inputReportReasonPornography#2e59d922 = ReportReason;
|
||||||
|
inputReportReasonOther#e1746d0a text:string = ReportReason;
|
||||||
|
updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update;
|
||||||
|
updateStickerSetsOrder#f0dfb451 order:Vector<long> = Update;
|
||||||
|
updateStickerSets#43ae3dec = Update;
|
||||||
|
help.termsOfService#f1ee3e90 text:string = help.TermsOfService;
|
||||||
---functions---
|
---functions---
|
||||||
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
|
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
|
||||||
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
|
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
|
||||||
@ -464,7 +472,7 @@ contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;
|
|||||||
account.sendChangePhoneCode#a407a8f4 phone_number:string = account.SentChangePhoneCode;
|
account.sendChangePhoneCode#a407a8f4 phone_number:string = account.SentChangePhoneCode;
|
||||||
account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User;
|
account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User;
|
||||||
messages.getStickers#ae22e045 emoticon:string hash:string = messages.Stickers;
|
messages.getStickers#ae22e045 emoticon:string hash:string = messages.Stickers;
|
||||||
messages.getAllStickers#aa3bc868 hash:string = messages.AllStickers;
|
messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers;
|
||||||
account.updateDeviceLocked#38df3532 period:int = Bool;
|
account.updateDeviceLocked#38df3532 period:int = Bool;
|
||||||
account.getPassword#548a30f5 = account.Password;
|
account.getPassword#548a30f5 = account.Password;
|
||||||
auth.checkPassword#a63011e password_hash:bytes = auth.Authorization;
|
auth.checkPassword#a63011e password_hash:bytes = auth.Authorization;
|
||||||
@ -519,3 +527,6 @@ messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates;
|
|||||||
messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool;
|
messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool;
|
||||||
messages.migrateChat#15a3b8e3 chat_id:int = Updates;
|
messages.migrateChat#15a3b8e3 chat_id:int = Updates;
|
||||||
messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
|
messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
|
||||||
|
account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool;
|
||||||
|
messages.reorderStickerSets#9fcfbc30 order:Vector<long> = Bool;
|
||||||
|
help.getTermsOfService#37d78f83 lang_code:string = help.TermsOfService;
|
||||||
|
Loading…
Reference in New Issue
Block a user