Ejemplo n.º 1
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeInt(this.id, stream);
     StreamingUtils.writeInt(this.fromId, stream);
     StreamingUtils.writeInt(this.chatId, stream);
     StreamingUtils.writeTLString(this.message, stream);
     StreamingUtils.writeInt(this.pts, stream);
     StreamingUtils.writeInt(this.ptsCount, stream);
     StreamingUtils.writeInt(this.date, stream);
     if ((this.flags & 4) != 0)
     {
         StreamingUtils.writeTLObject(this.fwdFrom, stream);
     }
     if ((this.flags & 0x800) != 0)
     {
         StreamingUtils.writeInt(this.viaBotId, stream);
     }
     if ((this.flags & 8) != 0)
     {
         StreamingUtils.writeInt(this.replyToMsgId, stream);
     }
     if ((this.flags & 0x80) != 0)
     {
         StreamingUtils.writeTLVector(this.entities, stream);
     }
 }
Ejemplo n.º 2
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(base.id, stream);
     StreamingUtils.writeTLString(base.title, stream);
     StreamingUtils.writeTLVector(this.sizes, stream);
     StreamingUtils.writeInt(base.color, stream);
 }
Ejemplo n.º 3
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeInt(base.id, stream);
     StreamingUtils.writeTLString(this.about, stream);
     if ((this.flags & 1) != 0)
     {
         StreamingUtils.writeInt(this.participantsCount, stream);
     }
     if ((this.flags & 2) != 0)
     {
         StreamingUtils.writeInt(this.adminCount, stream);
     }
     if ((this.flags & 4) != 0)
     {
         StreamingUtils.writeInt(this.kickedCount, stream);
     }
     StreamingUtils.writeInt(this.readInboxMaxId, stream);
     StreamingUtils.writeInt(this.readOutboxMaxId, stream);
     StreamingUtils.writeInt(this.unreadCount, stream);
     StreamingUtils.writeTLObject(base.photo, stream);
     StreamingUtils.writeTLObject(base.notifySettings, stream);
     StreamingUtils.writeTLObject(base.exportedInvite, stream);
     StreamingUtils.writeTLVector(this.botInfo, stream);
     if ((this.flags & 0x10) != 0)
     {
         StreamingUtils.writeInt(this.migratedFromChatId, stream);
         StreamingUtils.writeInt(this.migratedFromMaxId, stream);
     }
     if ((this.flags & 0x20) != 0)
     {
         StreamingUtils.writeInt(this.pinnedMessageId, stream);
     }
 }
Ejemplo n.º 4
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.channelId, stream);
     StreamingUtils.writeTLVector(this.messages, stream);
     StreamingUtils.writeInt(this.pts, stream);
     StreamingUtils.writeInt(this.ptsCount, stream);
 }
Ejemplo n.º 5
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeByteArray(this.nonce, stream);
     StreamingUtils.writeByteArray(this.serverNonce, stream);
     StreamingUtils.writeTLBytes(this.pq, stream);
     StreamingUtils.writeTLVector(this.fingerprints, stream);
 }
Ejemplo n.º 6
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.count, stream);
     StreamingUtils.writeTLVector(base.messages, stream);
     StreamingUtils.writeTLVector(base.chats, stream);
     StreamingUtils.writeTLVector(base.users, stream);
 }
Ejemplo n.º 7
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(this.updates, stream);
     StreamingUtils.writeTLVector(this.users, stream);
     StreamingUtils.writeTLVector(this.chats, stream);
     StreamingUtils.writeInt(this.date, stream);
     StreamingUtils.writeInt(this.seq, stream);
 }
Ejemplo n.º 8
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(base.newMessages, stream);
     StreamingUtils.writeTLVector(base.newEncryptedMessages, stream);
     StreamingUtils.writeTLVector(base.otherUpdates, stream);
     StreamingUtils.writeTLVector(base.chats, stream);
     StreamingUtils.writeTLVector(base.users, stream);
     StreamingUtils.writeTLObject(this.state, stream);
 }
Ejemplo n.º 9
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(base.id, stream);
     StreamingUtils.writeTLObject(this.participants, stream);
     StreamingUtils.writeTLObject(base.photo, stream);
     StreamingUtils.writeTLObject(base.notifySettings, stream);
     StreamingUtils.writeTLObject(base.exportedInvite, stream);
     StreamingUtils.writeTLVector(this.botInfo, stream);
 }
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.id, stream);
     StreamingUtils.writeLong(this.accessHash, stream);
     StreamingUtils.writeInt(this.date, stream);
     StreamingUtils.writeTLString(this.mimetype, stream);
     StreamingUtils.writeInt(this.size, stream);
     StreamingUtils.writeTLObject(this.thumb, stream);
     StreamingUtils.writeInt(this.dcId, stream);
     StreamingUtils.writeTLVector(this.attributes, stream);
 }
Ejemplo n.º 11
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeTLString(this.message, stream);
     if ((this.flags & 2) != 0)
     {
         StreamingUtils.writeTLVector(this.entites, stream);
     }
     if ((this.flags & 4) != 0)
     {
         StreamingUtils.writeTLObject(this.replyMarkup, stream);
     }
 }
Ejemplo n.º 12
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeInt(this.id, stream);
     StreamingUtils.writeInt(this.pts, stream);
     StreamingUtils.writeInt(this.ptsCount, stream);
     StreamingUtils.writeInt(this.date, stream);
     if ((this.flags & 0x200) != 0)
     {
         StreamingUtils.writeTLObject(this.media, stream);
     }
     if ((this.flags & 0x80) != 0)
     {
         StreamingUtils.writeTLVector(this.entities, stream);
     }
 }
Ejemplo n.º 13
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeInt(this.id, stream);
     if ((this.flags & 0x100) != 0)
     {
         StreamingUtils.writeInt(this.fromId, stream);
     }
     StreamingUtils.writeTLObject(this.toId, stream);
     if ((this.flags & 4) != 0)
     {
         StreamingUtils.writeTLObject(this.fwdFrom, stream);
     }
     if ((this.flags & 0x800) != 0)
     {
         StreamingUtils.writeInt(this.viaBotId, stream);
     }
     if ((this.flags & 8) != 0)
     {
         StreamingUtils.writeInt(this.replyToMsgId, stream);
     }
     StreamingUtils.writeInt(this.date, stream);
     StreamingUtils.writeTLString(this.message, stream);
     if ((this.flags & 0x200) != 0)
     {
         StreamingUtils.writeTLObject(this.media, stream);
     }
     if ((this.flags & 0x40) != 0)
     {
         StreamingUtils.writeTLObject(this.replyMarkup, stream);
     }
     if ((this.flags & 0x80) != 0)
     {
         StreamingUtils.writeTLVector(this.entities, stream);
     }
     if ((this.flags & 0x400) != 0)
     {
         StreamingUtils.writeInt(this.views, stream);
     }
     if ((this.flags & 0x8000) != 0)
     {
         StreamingUtils.writeInt(this.editDate, stream);
     }
 }
Ejemplo n.º 14
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.userId, stream);
     StreamingUtils.writeTLVector(this.commands, stream);
 }
Ejemplo n.º 15
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(base.chatId, stream);
     StreamingUtils.writeTLVector(this.participants, stream);
     StreamingUtils.writeInt(this.version, stream);
 }
Ejemplo n.º 16
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(this.phoneNumbers, stream);
     StreamingUtils.writeTLString(this.message, stream);
 }
Ejemplo n.º 17
0
 public override void serializeBody(OutputStream stream)
 {
     base.serializeBody(stream);
     StreamingUtils.writeTLVector(this.exportCard, stream);
 }
Ejemplo n.º 18
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(base.blocked, stream);
     StreamingUtils.writeTLVector(base.users, stream);
 }
Ejemplo n.º 19
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(this.msgIds, stream);
     StreamingUtils.writeTLString(this.info, stream);
 }
Ejemplo n.º 20
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(this.msgIds, stream);
     StreamingUtils.writeTLMethod(this.query, stream);
 }
Ejemplo n.º 21
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeTLVector(this.order, stream);
 }
Ejemplo n.º 22
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(this.imported, stream);
     StreamingUtils.writeTLVector(this.retryContacts, stream);
     StreamingUtils.writeTLVector(this.users, stream);
 }
Ejemplo n.º 23
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLObject(this.key, stream);
     StreamingUtils.writeTLVector(this.rules, stream);
 }
Ejemplo n.º 24
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.hash, stream);
     StreamingUtils.writeTLVector(this.gifs, stream);
 }
Ejemplo n.º 25
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLString(this.emoticon, stream);
     StreamingUtils.writeTLVector(this.documents, stream);
 }
Ejemplo n.º 26
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.nextOffset, stream);
     StreamingUtils.writeTLVector(this.results, stream);
 }
Ejemplo n.º 27
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(this.results, stream);
     StreamingUtils.writeTLVector(this.chats, stream);
     StreamingUtils.writeTLVector(this.users, stream);
 }
Ejemplo n.º 28
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLObject(this.photo, stream);
     StreamingUtils.writeTLVector(this.users, stream);
 }
Ejemplo n.º 29
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(this.id, stream);
 }
Ejemplo n.º 30
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.count, stream);
     StreamingUtils.writeTLVector(this.participants, stream);
     StreamingUtils.writeTLVector(this.users, stream);
 }