Esempio n. 1
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags = StreamingUtils.readInt(stream);
     base.id    = StreamingUtils.readInt(stream);
     this.about = StreamingUtils.readTLString(stream);
     if ((this.flags & 1) != 0)
     {
         this.participantsCount = StreamingUtils.readInt(stream);
     }
     if ((this.flags & 2) != 0)
     {
         this.adminCount = StreamingUtils.readInt(stream);
     }
     if ((this.flags & 4) != 0)
     {
         this.kickedCount = StreamingUtils.readInt(stream);
     }
     this.readInboxMaxId  = StreamingUtils.readInt(stream);
     this.readOutboxMaxId = StreamingUtils.readInt(stream);
     this.unreadCount     = StreamingUtils.readInt(stream);
     base.photo           = StreamingUtils.readTLObject(stream, context);
     base.notifySettings  = StreamingUtils.readTLObject(stream, context);
     base.exportedInvite  = StreamingUtils.readTLObject(stream, context);
     this.botInfo         = StreamingUtils.readTLVector(stream, context);
     if ((this.flags & 0x10) != 0)
     {
         this.migratedFromChatId = StreamingUtils.readInt(stream);
         this.migratedFromMaxId  = StreamingUtils.readInt(stream);
     }
     if ((this.flags & 0x20) != 0)
     {
         this.pinnedMessageId = StreamingUtils.readInt(stream);
     }
 }
Esempio n. 2
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.id    = StreamingUtils.readInt(stream);
     base.title = StreamingUtils.readTLString(stream);
     this.sizes = StreamingUtils.readTLVector(stream, context);
     base.color = StreamingUtils.readInt(stream);
 }
Esempio n. 3
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.count    = StreamingUtils.readInt(stream);
     base.messages = StreamingUtils.readTLVector(stream, context);
     base.chats    = StreamingUtils.readTLVector(stream, context);
     base.users    = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 4
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags    = StreamingUtils.readInt(stream);
     this.id       = StreamingUtils.readInt(stream);
     this.fromId   = StreamingUtils.readInt(stream);
     this.chatId   = StreamingUtils.readInt(stream);
     this.message  = StreamingUtils.readTLString(stream);
     this.pts      = StreamingUtils.readInt(stream);
     this.ptsCount = StreamingUtils.readInt(stream);
     this.date     = StreamingUtils.readInt(stream);
     if ((this.flags & 4) != 0)
     {
         this.fwdFrom = StreamingUtils.readTLObject(stream, context);
     }
     if ((this.flags & 0x800) != 0)
     {
         this.viaBotId = StreamingUtils.readInt(stream);
     }
     if ((this.flags & 8) != 0)
     {
         this.replyToMsgId = StreamingUtils.readInt(stream);
     }
     if ((this.flags & 0x80) != 0)
     {
         this.entities = StreamingUtils.readTLVector(stream, context);
     }
 }
Esempio n. 5
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.updates = StreamingUtils.readTLVector(stream, context);
     this.users   = StreamingUtils.readTLVector(stream, context);
     this.chats   = StreamingUtils.readTLVector(stream, context);
     this.date    = StreamingUtils.readInt(stream);
     this.seq     = StreamingUtils.readInt(stream);
 }
Esempio n. 6
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.id             = StreamingUtils.readInt(stream);
     this.participants   = StreamingUtils.readTLObject(stream, context);
     base.photo          = StreamingUtils.readTLObject(stream, context);
     base.notifySettings = StreamingUtils.readTLObject(stream, context);
     base.exportedInvite = StreamingUtils.readTLObject(stream, context);
     this.botInfo        = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 7
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.newMessages          = StreamingUtils.readTLVector(stream, context);
     base.newEncryptedMessages = StreamingUtils.readTLVector(stream, context);
     base.otherUpdates         = StreamingUtils.readTLVector(stream, context);
     base.chats = StreamingUtils.readTLVector(stream, context);
     base.users = StreamingUtils.readTLVector(stream, context);
     this.state = StreamingUtils.readTLObject(stream, context);
 }
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.id         = StreamingUtils.readInt(stream);
     this.accessHash = StreamingUtils.readLong(stream);
     this.date       = StreamingUtils.readInt(stream);
     this.mimetype   = StreamingUtils.readTLString(stream);
     this.size       = StreamingUtils.readInt(stream);
     this.thumb      = StreamingUtils.readTLObject(stream, context);
     this.dcId       = StreamingUtils.readInt(stream);
     this.attributes = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 9
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags   = StreamingUtils.readInt(stream);
     this.message = StreamingUtils.readTLString(stream);
     if ((this.flags & 2) != 0)
     {
         this.entites = StreamingUtils.readTLVector(stream, context);
     }
     if ((this.flags & 4) != 0)
     {
         this.replyMarkup = StreamingUtils.readTLObject(stream, context);
     }
 }
Esempio n. 10
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags    = StreamingUtils.readInt(stream);
     this.id       = StreamingUtils.readInt(stream);
     this.pts      = StreamingUtils.readInt(stream);
     this.ptsCount = StreamingUtils.readInt(stream);
     this.date     = StreamingUtils.readInt(stream);
     if ((this.flags & 0x200) != 0)
     {
         this.media = StreamingUtils.readTLObject(stream, context);
     }
     if ((this.flags & 0x80) != 0)
     {
         this.entities = StreamingUtils.readTLVector(stream, context);
     }
 }
Esempio n. 11
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags = StreamingUtils.readInt(stream);
     this.id    = StreamingUtils.readInt(stream);
     if ((this.flags & 0x100) != 0)
     {
         this.fromId = StreamingUtils.readInt(stream);
     }
     this.toId = StreamingUtils.readTLObject(stream, context);
     if ((this.flags & 4) != 0)
     {
         this.fwdFrom = StreamingUtils.readTLObject(stream, context);
     }
     if ((this.flags & 0x800) != 0)
     {
         this.viaBotId = StreamingUtils.readInt(stream);
     }
     if ((this.flags & 8) != 0)
     {
         this.replyToMsgId = StreamingUtils.readInt(stream);
     }
     this.date    = StreamingUtils.readInt(stream);
     this.message = StreamingUtils.readTLString(stream);
     if ((this.flags & 0x200) != 0)
     {
         this.media = StreamingUtils.readTLObject(stream, context);
     }
     if ((this.flags & 0x40) != 0)
     {
         this.replyMarkup = StreamingUtils.readTLObject(stream, context);
     }
     if ((this.flags & 0x80) != 0)
     {
         this.entities = StreamingUtils.readTLVector(stream, context);
     }
     if ((this.flags & 0x400) != 0)
     {
         this.views = StreamingUtils.readInt(stream);
     }
     if ((this.flags & 0x8000) != 0)
     {
         this.editDate = StreamingUtils.readInt(stream);
     }
 }
Esempio n. 12
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.chatId       = StreamingUtils.readInt(stream);
     this.participants = StreamingUtils.readTLVector(stream, context);
     this.version      = StreamingUtils.readInt(stream);
 }
Esempio n. 13
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags  = StreamingUtils.readInt(stream);
     this.ranges = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 14
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.count        = StreamingUtils.readInt(stream);
     this.participants = StreamingUtils.readTLVector(stream, context);
     this.users        = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 15
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.contacts = StreamingUtils.readTLVector(stream, context);
     this.replace  = StreamingUtils.readTLBool(stream);
 }
Esempio n. 16
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.imported      = StreamingUtils.readTLVector(stream, context);
     this.retryContacts = StreamingUtils.readTLLongVector(stream, context);
     this.users         = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 17
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.key   = StreamingUtils.readTLObject(stream, context);
     this.rules = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 18
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.deserializeBody(stream, context);
     this.nextOffset = StreamingUtils.readInt(stream);
     this.results    = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 19
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.fullChat = StreamingUtils.readTLObject(stream, context);
     this.chats    = StreamingUtils.readTLVector(stream, context);
     this.users    = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 20
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.userId      = StreamingUtils.readInt(stream);
     this.description = StreamingUtils.readTLString(stream);
     this.commands    = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 21
0
 public virtual TLVector deserializeResponse(InputStream stream, TLContext context) =>
 StreamingUtils.readTLVector(stream, context);
Esempio n. 22
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.blocked = StreamingUtils.readTLVector(stream, context);
     base.users   = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 23
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.events = StreamingUtils.readTLVector(stream, context);
 }
Esempio n. 24
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.users = StreamingUtils.readTLVector(stream, context);
     this.title = StreamingUtils.readTLString(stream);
 }