summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tgl/binlog.tl
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2016-03-07 22:07:50 +0000
committerKirill Volinsky <mataes2007@gmail.com>2016-03-07 22:07:50 +0000
commit90cc15799fe189134d9580c1dc121d0b78df17ba (patch)
tree32ea2068c77c2e224d743479408818315931f64b /protocols/Telegram/tgl/binlog.tl
parent33f7eca09be79fb9f1d1933f198b5ec60e465cd7 (diff)
tgl.lib first compile version. Only release x86
git-svn-id: http://svn.miranda-ng.org/main/trunk@16445 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Telegram/tgl/binlog.tl')
-rw-r--r--protocols/Telegram/tgl/binlog.tl102
1 files changed, 102 insertions, 0 deletions
diff --git a/protocols/Telegram/tgl/binlog.tl b/protocols/Telegram/tgl/binlog.tl
new file mode 100644
index 0000000000..a0c52424d7
--- /dev/null
+++ b/protocols/Telegram/tgl/binlog.tl
@@ -0,0 +1,102 @@
+---types---
+
+binlog.encrKey key:64*[int] = binlog.EncrKey;
+
+binlog.start = binlog.Update;
+
+binlog.dcOption dc:int name:string ip:string port:int = binlog.Update;
+binlog.dcOptionNew flags:int dc:int name:string ip:string port:int = binlog.Update;
+
+binlog.authKey dc:int key:%binlog.EncrKey = binlog.Update;
+binlog.defaultDc dc:int = binlog.Update;
+binlog.dcSigned dc:int = binlog.Update;
+
+binlog.ourId id:int = binlog.Update;
+
+binlog.setDhParams root:int prime:%binlog.EncrKey version:int = binlog.Update;
+
+binlog.setPts pts:int = binlog.Update;
+binlog.setQts qts:int = binlog.Update;
+binlog.setDate date:int = binlog.Update;
+binlog.setSeq seq:int = binlog.Update;
+
+binlog.encrChatDelete id:int = binlog.Update;
+binlog.encrChatNew#84977251 flags:# id:int
+ access_hash:flags.17?long
+ date:flags.18?int
+ admin:flags.19?int
+ user_id:flags.20?int
+ key:flags.21?%binlog.EncrKey
+ g_key:flags.22?%binlog.EncrKey
+ state:flags.23?int
+ ttl:flags.24?int
+ layer:flags.25?int
+ in_seq_no:flags.26?int last_in_seq_no:flags.26?int out_seq_no:flags.26?int
+ key_fingerprint:flags.27?long
+ = binlog.Update;
+
+binlog.encrChatExchangeNew#9d49488d flags:# id:int
+ exchange_id:flags.17?long
+ key:flags.18?%binlog.EncrKey
+ state:flags.19?int
+ = binlog.Update;
+
+binlog.userDelete id:int = binlog.Update;
+binlog.userNew#127cf2f9 flags:# id:int
+ access_hash:flags.17?long
+ first_name:flags.18?string last_name:flags.18?string
+ phone:flags.19?string
+ username:flags.20?string
+ photo:flags.21?Photo
+ real_first_name:flags.22?string real_last_name:flags.22?string
+ user_photo:flags.23?UserProfilePhoto
+ last_read_in:flags.24?int
+ last_read_out:flags.25?int
+ bot_info:flags.26?BotInfo
+ = binlog.Update;
+
+binlog.chatNew#0a10aa92 flags:# id:int
+ title:flags.17?string
+ user_num:flags.18?int
+ date:flags.19?int
+ version:flags.20?int participants:flags.20?(Vector ChatParticipant)
+ chat_photo:flags.21?ChatPhoto
+ photo:flags.22?Photo
+ admin:flags.23?int
+ last_read_in:flags.24?int
+ last_read_out:flags.25?int
+ = binlog.Update;
+
+binlog.chatAddParticipant id:int version:int user_id:int inviter_id:int date:int = binlog.Update;
+binlog.chatDelParticipant id:int version:int user_id:int = binlog.Update;
+
+binlog.setMsgId old_id:long new_id:int = binlog.Update;
+binlog.messageDelete lid:long = binlog.Update;
+
+binlog.messageNew#427cfcdb flags:# lid:long
+ from_id:flags.17?int to_type:flags.17?int to_id:flags.17?int
+ fwd_from_id:flags.18?int fwd_date:flags.18?int
+ date:flags.19?int
+ message:flags.20?string
+ media:flags.21?MessageMedia
+ action:flags.22?MessageAction
+ reply_id:flags.23?int
+ reply_markup:flags.24?ReplyMarkup
+ = binlog.Update;
+
+binlog.messageEncrNew#6cf7cabc flags:# lid:long
+ from_id:flags.17?int to_type:flags.17?int to_id:flags.17?int
+ //empty 18 bit
+ date:flags.19?int
+ message:flags.20?string
+ encr_media:flags.21?DecryptedMessageMedia
+ encr_action:flags.22?DecryptedMessageAction
+ file:flags.23?EncryptedFile
+ = binlog.Update;
+
+binlog.msgUpdate#6dd4d85f lid:long = binlog.Update;
+
+binlog.resetAuthorization = binlog.Update;
+
+
+---functions---