diff --git a/l062/README.md b/l062/README.md new file mode 100644 index 0000000..7cbbbc5 --- /dev/null +++ b/l062/README.md @@ -0,0 +1,5 @@ +### Version info +App|Version/Hash|Date +---|---|--- +TDesktop|218f991547ad02a3cb55df2d7d03e562eabe9482|31.12.16 +Webogram|580ddd71055e4233dcb8f1c14f4890cd6021f3eb|31.12.16 diff --git a/l062/schema.json b/l062/schema.json new file mode 100644 index 0000000..e70913d --- /dev/null +++ b/l062/schema.json @@ -0,0 +1,74 @@ +{ + "constructors": [ + { + "id": "-2134272152", + "predicate": "inputMessagesFilterPhoneCalls", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "missed", + "type": "flags.0?true" + } + ], + "type": "MessagesFilter" + }, + { + "id": "-2132731265", + "predicate": "messageActionPhoneCall", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "call_id", + "type": "long" + }, + { + "name": "reason", + "type": "flags.0?PhoneCallDiscardReason" + }, + { + "name": "duration", + "type": "flags.1?int" + } + ], + "type": "MessageAction" + } + ], + "methods": [ + { + "id": "-443640366", + "method": "messages.deleteMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "revoke", + "type": "flags.0?true" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1259113487", + "method": "messages.reportEncryptedSpam", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + } + ], + "type": "Bool" + } + ] +} \ No newline at end of file diff --git a/l062/schema.tl b/l062/schema.tl new file mode 100644 index 0000000..93eee9f --- /dev/null +++ b/l062/schema.tl @@ -0,0 +1,7 @@ +---types--- +inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; +messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; +---functions--- +// messages.deleteMessages#a5f18925 id:Vector = messages.AffectedMessages; +messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; +messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; diff --git a/schema.json b/schema.json index 24d1da0..44fedfb 100644 --- a/schema.json +++ b/schema.json @@ -8481,6 +8481,44 @@ "predicate": "phoneCallDiscardReasonBusy", "params": [], "type": "PhoneCallDiscardReason" + }, + { + "id": "-2134272152", + "predicate": "inputMessagesFilterPhoneCalls", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "missed", + "type": "flags.0?true" + } + ], + "type": "MessagesFilter" + }, + { + "id": "-2132731265", + "predicate": "messageActionPhoneCall", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "call_id", + "type": "long" + }, + { + "name": "reason", + "type": "flags.0?PhoneCallDiscardReason" + }, + { + "name": "duration", + "type": "flags.1?int" + } + ], + "type": "MessageAction" } ], "methods": [ @@ -9044,9 +9082,17 @@ "type": "messages.AffectedHistory" }, { - "id": "-1510897371", + "id": "-443640366", "method": "messages.deleteMessages", "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "revoke", + "type": "flags.0?true" + }, { "name": "id", "type": "Vector" @@ -11670,6 +11716,17 @@ } ], "type": "Bool" + }, + { + "id": "1259113487", + "method": "messages.reportEncryptedSpam", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + } + ], + "type": "Bool" } ] } \ No newline at end of file diff --git a/schema.tl b/schema.tl index 3ff90bb..2387ad6 100644 --- a/schema.tl +++ b/schema.tl @@ -506,6 +506,8 @@ phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; +inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; +messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; ---functions--- invokeAfterMsg#cb9f372d msg_id:long query:!X = X; invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; @@ -543,7 +545,7 @@ messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_of messages.search#d4569248 flags:# peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages; messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#a5f18925 id:Vector = messages.AffectedMessages; +messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; messages.receivedMessages#5a954c0 max_id:int = Vector; messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; @@ -703,3 +705,4 @@ phone.requestCall#a41aa5e4 user_id:InputUser random_id:int g_a:bytes protocol:Ph phone.acceptCall#220f0b20 peer:InputPhoneCall g_b:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; phone.discardCall#5dfbcddc peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Bool; phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; +messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;