Ejemplo n.º 1
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeInt(this.id, stream);
     StreamingUtils.writeTLString(this.ipAddress, stream);
     StreamingUtils.writeInt(this.port, stream);
 }
Ejemplo n.º 2
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeInt(this.apiId, stream);
     StreamingUtils.writeTLString(this.apiHash, stream);
     StreamingUtils.writeTLString(this.botAuthToken, stream);
 }
Ejemplo n.º 3
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(base.id, stream);
     StreamingUtils.writeTLBool(base.critical, stream);
     StreamingUtils.writeTLString(base.url, stream);
     StreamingUtils.writeTLString(base.text, stream);
 }
Ejemplo n.º 4
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.º 5
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeInt(base.id, stream);
     StreamingUtils.writeLong(this.accessHash, stream);
     StreamingUtils.writeTLString(this.title, stream);
 }
Ejemplo n.º 6
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeDouble(this.time, stream);
     StreamingUtils.writeTLString(this.type, stream);
     StreamingUtils.writeLong(this.peer, stream);
     StreamingUtils.writeTLString(this.data, stream);
 }
Ejemplo n.º 7
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(base.id, stream);
     StreamingUtils.writeTLString(base.title, stream);
     StreamingUtils.writeInt(this.bgColor, stream);
     StreamingUtils.writeInt(base.color, stream);
 }
Ejemplo n.º 8
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLString(this.id, stream);
     StreamingUtils.writeTLString(this.type, stream);
     StreamingUtils.writeTLObject(this.photo, stream);
     StreamingUtils.writeTLObject(this.sendMessage, stream);
 }
Ejemplo n.º 9
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(base.id, stream);
     StreamingUtils.writeInt(base.parts, stream);
     StreamingUtils.writeTLString(base.md5Checksum, stream);
     StreamingUtils.writeInt(base.keyFingerprint, stream);
 }
Ejemplo n.º 10
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLString(this.phoneNumber, stream);
     StreamingUtils.writeTLString(this.firstName, stream);
     StreamingUtils.writeTLString(this.lastName, stream);
     StreamingUtils.writeInt(this.userId, stream);
 }
Ejemplo n.º 11
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.º 12
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(base.randomId, stream);
     StreamingUtils.writeInt(this.ttl, stream);
     StreamingUtils.writeTLString(this.message, stream);
     StreamingUtils.writeTLObject(this.media, stream);
 }
Ejemplo n.º 13
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.clientId, stream);
     StreamingUtils.writeTLString(this.phone, stream);
     StreamingUtils.writeTLString(this.firstName, stream);
     StreamingUtils.writeTLString(this.lastName, stream);
 }
Ejemplo n.º 14
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.duration, stream);
     StreamingUtils.writeTLString(this.mimeType, stream);
     StreamingUtils.writeInt(this.size, stream);
     StreamingUtils.writeTLBytes(this.key, stream);
     StreamingUtils.writeTLBytes(this.iv, stream);
 }
Ejemplo n.º 15
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLObject(this.geo, stream);
     StreamingUtils.writeTLString(this.title, stream);
     StreamingUtils.writeTLString(this.address, stream);
     StreamingUtils.writeTLString(this.provider, stream);
     StreamingUtils.writeTLString(this.venue_id, stream);
 }
Ejemplo n.º 16
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLBytes(this.currentSalt, stream);
     StreamingUtils.writeTLBytes(base.newSalt, stream);
     StreamingUtils.writeTLString(this.hint, stream);
     StreamingUtils.writeTLBool(this.hasRecovery, stream);
     StreamingUtils.writeTLString(base.emailUnconfirmedPattern, stream);
 }
Ejemplo n.º 17
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.id, stream);
     StreamingUtils.writeTLString(this.ip, stream);
     StreamingUtils.writeTLString(this.ipv6, stream);
     StreamingUtils.writeInt(this.port, stream);
     StreamingUtils.writeTLBytes(this.peerTag, stream);
 }
Ejemplo n.º 18
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLString(this.type, stream);
     StreamingUtils.writeTLObject(this.location, stream);
     StreamingUtils.writeInt(this.w, stream);
     StreamingUtils.writeInt(this.h, stream);
     StreamingUtils.writeTLBytes(this.bytes, stream);
 }
Ejemplo n.º 19
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.apiId, stream);
     StreamingUtils.writeTLString(this.deviceModel, stream);
     StreamingUtils.writeTLString(this.systemVersion, stream);
     StreamingUtils.writeTLString(this.appVersion, stream);
     StreamingUtils.writeTLString(this.langCode, stream);
     StreamingUtils.writeTLMethod(this.query, stream);
 }
Ejemplo n.º 20
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLString(this.url, stream);
     StreamingUtils.writeTLString(this.thumbUrl, stream);
     StreamingUtils.writeTLString(this.contentUrl, stream);
     StreamingUtils.writeTLString(this.contentType, stream);
     StreamingUtils.writeInt(this.w, stream);
     StreamingUtils.writeInt(this.h, stream);
 }
Ejemplo n.º 21
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLString(this.streetLine1, stream);
     StreamingUtils.writeTLString(this.streetLine2, stream);
     StreamingUtils.writeTLString(this.city, stream);
     StreamingUtils.writeTLString(this.state, stream);
     StreamingUtils.writeTLString(this.countryIso2, stream);
     StreamingUtils.writeTLString(this.postCode, stream);
 }
Ejemplo n.º 22
0
 public override void serializeBody(OutputStream stream)
 {
     base.serializeBody(stream);
     StreamingUtils.writeTLObject(this.inputGeoPoint, stream);
     StreamingUtils.writeTLString(this.title, stream);
     StreamingUtils.writeTLString(this.address, stream);
     StreamingUtils.writeTLString(this.provider, stream);
     StreamingUtils.writeTLString(this.venueId, stream);
 }
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeTLString(this.caption, stream);
     if ((this.flags & 4) != 0)
     {
         StreamingUtils.writeTLObject(this.replyMarkup, stream);
     }
 }
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeTLString(this.phoneNumber, stream);
     StreamingUtils.writeTLString(this.firstName, stream);
     StreamingUtils.writeTLString(this.lastName, stream);
     if ((this.flags & 4) != 0)
     {
         StreamingUtils.writeTLObject(this.replyMarkup, 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.º 26
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeTLString(this.phoneNumber, stream);
     if ((this.flags & 1) != 0)
     {
         StreamingUtils.writeTLBool(this.currentPhoneNumber.booleanValue(), stream);
     }
     StreamingUtils.writeInt(this.apiId, stream);
     StreamingUtils.writeTLString(this.apiHash, stream);
 }
Ejemplo n.º 27
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLBytes(this.thumb, stream);
     StreamingUtils.writeInt(this.thumbW, stream);
     StreamingUtils.writeInt(this.thumbH, stream);
     StreamingUtils.writeTLString(this.fileName, stream);
     StreamingUtils.writeTLString(this.mimeType, stream);
     StreamingUtils.writeInt(this.size, stream);
     StreamingUtils.writeTLBytes(this.key, stream);
     StreamingUtils.writeTLBytes(this.iv, stream);
 }
Ejemplo n.º 28
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeTLObject(this.peer, stream);
     StreamingUtils.writeTLString(this.q, stream);
     StreamingUtils.writeTLObject(this.filter, stream);
     StreamingUtils.writeInt(this.minDate, stream);
     StreamingUtils.writeInt(this.maxDate, stream);
     StreamingUtils.writeInt(this.offset, stream);
     StreamingUtils.writeInt(this.maxId, stream);
     StreamingUtils.writeInt(this.limit, stream);
 }
Ejemplo n.º 29
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeLong(this.queryId, stream);
     StreamingUtils.writeInt(this.userId, stream);
     StreamingUtils.writeTLString(this.query, stream);
     if ((this.flags & 1) != 0)
     {
         StreamingUtils.writeTLObject(this.geo, stream);
     }
     StreamingUtils.writeTLString(this.offset, stream);
 }
Ejemplo n.º 30
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     if ((this.flags & 1) != 0)
     {
         StreamingUtils.writeTLString(this.message, stream);
     }
     if ((this.flags & 4) != 0)
     {
         StreamingUtils.writeTLString(this.url, stream);
     }
     StreamingUtils.writeInt(this.cacheTime, stream);
 }