Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
     }
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
 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);
 }
 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);
 }
Esempio 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);
 }
Esempio 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);
     }
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }