1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-11-30 04:19:47 +01:00

Add layer 043

This commit is contained in:
Viktor Oreshkin 2017-07-02 18:46:10 +03:00
parent 2ae8d97229
commit fcbf20663e
5 changed files with 280 additions and 6 deletions

4
l043/README.md Normal file
View File

@ -0,0 +1,4 @@
### Version info
App|Version/Hash|Date
---|---|---
TDesktop|ed3601f8839077635cf55d1681706b27056edf1c|02.12.15

137
l043/schema.json Normal file
View 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
View 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;

View File

@ -3980,12 +3980,12 @@
"type": "messages.AllStickers"
},
{
"id": "-719474725",
"id": "-302170017",
"predicate": "messages.allStickers",
"params": [
{
"name": "hash",
"type": "string"
"type": "int"
},
{
"name": "sets",
@ -6034,6 +6034,74 @@
"predicate": "channelParticipantsBots",
"params": [],
"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": [
@ -7501,12 +7569,12 @@
"type": "messages.Stickers"
},
{
"id": "-1438922648",
"id": "479598769",
"method": "messages.getAllStickers",
"params": [
{
"name": "hash",
"type": "string"
"type": "int"
}
],
"type": "messages.AllStickers"
@ -8317,6 +8385,43 @@
}
],
"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"
}
]
}

View File

@ -258,7 +258,7 @@ messages.stickersNotModified#f1749a22 = messages.Stickers;
messages.stickers#8a8ecd32 hash:string stickers:Vector<Document> = messages.Stickers;
stickerPack#12b299d4 emoticon:string documents:Vector<long> = StickerPack;
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.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;
@ -369,6 +369,14 @@ updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool versio
messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction;
messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction;
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---
invokeAfterMsg#cb9f372d msg_id: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.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User;
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.getPassword#548a30f5 = account.Password;
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.migrateChat#15a3b8e3 chat_id:int = Updates;
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;