Exemplo n.º 1
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeByteArray(this.nonce, stream);
     StreamingUtils.writeByteArray(this.serverNonce, stream);
     StreamingUtils.writeLong(this.retryId, stream);
     StreamingUtils.writeTLBytes(this.gb, stream);
 }
Exemplo n.º 2
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.dcId, stream);
     StreamingUtils.writeLong(this.volumeId, stream);
     StreamingUtils.writeInt(this.localId, stream);
     StreamingUtils.writeLong(this.secret, stream);
 }
Exemplo n.º 3
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);
 }
Exemplo n.º 4
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);
 }
Exemplo n.º 5
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);
 }
Exemplo n.º 6
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(base.randomId, stream);
     StreamingUtils.writeInt(base.chatId, stream);
     StreamingUtils.writeInt(base.date, stream);
     StreamingUtils.writeTLBytes(base.bytes, stream);
 }
Exemplo n.º 7
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.msgId, stream);
     StreamingUtils.writeLong(this.answerMsgId, stream);
     StreamingUtils.writeInt(this.bytes, stream);
     StreamingUtils.writeInt(this.state, stream);
 }
Exemplo n.º 8
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);
 }
Exemplo n.º 9
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);
 }
Exemplo n.º 10
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.messageId, stream);
     StreamingUtils.writeInt(this.seqNo, stream);
     StreamingUtils.writeInt(this.content.Length, stream);
     StreamingUtils.writeByteArray(this.content, 0, this.contentLen, stream);
 }
Exemplo n.º 11
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.permAuthKeyId, stream);
     StreamingUtils.writeLong(this.nonce, stream);
     StreamingUtils.writeInt(this.expiresAt, stream);
     StreamingUtils.writeTLBytes(this.encryptedMessage, stream);
 }
Exemplo n.º 12
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(base.badMsgId, stream);
     StreamingUtils.writeInt(base.badMsqSeqno, stream);
     StreamingUtils.writeInt(base.errorCode, stream);
     StreamingUtils.writeLong(base.newServerSalt, stream);
 }
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLObject(this.peer, stream);
     StreamingUtils.writeLong(this.randomId, stream);
     StreamingUtils.writeTLBytes(this.data, stream);
     StreamingUtils.writeTLObject(this.file, stream);
 }
Exemplo n.º 14
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.fileId, stream);
     StreamingUtils.writeInt(this.filePart, stream);
     StreamingUtils.writeInt(this.fileTotalParts, stream);
     StreamingUtils.writeTLBytes(this.bytes, stream);
 }
Exemplo n.º 15
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(base.id, stream);
     StreamingUtils.writeLong(this.accessHash, stream);
     StreamingUtils.writeInt(this.size, stream);
     StreamingUtils.writeInt(this.dcId, stream);
     StreamingUtils.writeInt(this.keyFingerprint, stream);
 }
Exemplo n.º 16
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(base.id, stream);
     StreamingUtils.writeLong(this.accessHash, stream);
     StreamingUtils.writeInt(this.date, stream);
     StreamingUtils.writeInt(this.adminId, stream);
     StreamingUtils.writeInt(this.participantId, stream);
 }
Exemplo 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);
 }
Exemplo n.º 18
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeByteArray(this.nonce, stream);
     StreamingUtils.writeByteArray(this.serverNonce, stream);
     StreamingUtils.writeTLBytes(this.p, stream);
     StreamingUtils.writeTLBytes(this.q, stream);
     StreamingUtils.writeLong(this.fingerPrint, stream);
     StreamingUtils.writeTLBytes(this.encryptedData, 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);
 }
Exemplo n.º 20
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);
 }
Exemplo n.º 21
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeInt(base.id, stream);
     if ((this.flags & 1) != 0)
     {
         StreamingUtils.writeLong(this.accessHash, stream);
     }
     if ((this.flags & 2) != 0)
     {
         StreamingUtils.writeTLString(this.firstName, stream);
     }
     if ((this.flags & 4) != 0)
     {
         StreamingUtils.writeTLString(this.lastName, stream);
     }
     if ((this.flags & 8) != 0)
     {
         StreamingUtils.writeTLString(this.userName, stream);
     }
     if ((this.flags & 0x10) != 0)
     {
         StreamingUtils.writeTLString(this.phone, stream);
     }
     if ((this.flags & 0x20) != 0)
     {
         StreamingUtils.writeTLObject(this.photo, stream);
     }
     if ((this.flags & 0x40) != 0)
     {
         StreamingUtils.writeTLObject(this.status, stream);
     }
     if ((this.flags & 0x4000) != 0)
     {
         StreamingUtils.writeInt(this.botInfoVersion, stream);
     }
     if ((this.flags & 0x40000) != 0)
     {
         StreamingUtils.writeTLString(this.restrictionReason, stream);
     }
     if ((this.flags & 0x80000) != 0)
     {
         StreamingUtils.writeTLString(this.botInlinePlaceholder, stream);
     }
     if ((this.flags & 0x200000) != 0)
     {
         StreamingUtils.writeTLString(this.langCode, stream);
     }
 }
Exemplo n.º 22
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeTLObject(this.peer, stream);
     if ((this.flags & 1) != 0)
     {
         StreamingUtils.writeInt(this.replyToMsgId, stream);
     }
     StreamingUtils.writeTLObject(this.media, stream);
     StreamingUtils.writeLong(this.randomId, stream);
     if ((this.flags & 4) != 0)
     {
         StreamingUtils.writeTLObject(this.replyMarkup, stream);
     }
 }
Exemplo n.º 23
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.hash, stream);
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeTLString(this.deviceModel, stream);
     StreamingUtils.writeTLString(this.platform, stream);
     StreamingUtils.writeTLString(this.systemVersion, stream);
     StreamingUtils.writeInt(this.apiId, stream);
     StreamingUtils.writeTLString(this.appName, stream);
     StreamingUtils.writeTLString(this.appVersion, stream);
     StreamingUtils.writeInt(this.dateCreated, stream);
     StreamingUtils.writeInt(this.dateActive, stream);
     StreamingUtils.writeTLString(this.ip, stream);
     StreamingUtils.writeTLString(this.country, stream);
     StreamingUtils.writeTLString(this.region, stream);
 }
Exemplo n.º 24
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeLong(this.queryId, stream);
     StreamingUtils.writeInt(this.userId, stream);
     StreamingUtils.writeTLObject(this.msgId, stream);
     StreamingUtils.writeLong(this.chatInstance, stream);
     if ((this.flags & 1) != 0)
     {
         StreamingUtils.writeTLBytes(this.data, stream);
     }
     if ((this.flags & 2) != 0)
     {
         StreamingUtils.writeTLString(this.gameShortName, stream);
     }
 }
Exemplo n.º 25
0
        public override void serializeBody(OutputStream stream)
        {
            StreamingUtils.writeLong(this.requestId, stream);
            StreamingUtils.writeInt(this.now, stream);
            StreamingUtils.writeInt(this.salts.size(), stream);
            Iterator iterator = this.salts.iterator();

            while (true)
            {
                if (!iterator.hasNext())
                {
                    break;
                }
                ((MTFutureSalt)iterator.next()).serializeBody(stream);
            }
        }
Exemplo n.º 26
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.flags, stream);
     StreamingUtils.writeInt(base.id, stream);
     if ((this.flags & 0x2000) != 0)
     {
         StreamingUtils.writeLong(this.accessHash, stream);
     }
     StreamingUtils.writeTLString(this.title, stream);
     if ((this.flags & 0x40) != 0)
     {
         StreamingUtils.writeTLString(this.username, stream);
     }
     StreamingUtils.writeTLObject(this.photo, stream);
     StreamingUtils.writeInt(this.date, stream);
     StreamingUtils.writeInt(this.version, stream);
     if ((this.flags & 0x200) != 0)
     {
         StreamingUtils.writeTLString(this.restrictionReason, stream);
     }
 }
Exemplo n.º 27
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.msg_id.longValue(), stream);
     StreamingUtils.writeInt(this.seq_no, stream);
     StreamingUtils.writeInt(this.bytes, stream);
 }
Exemplo n.º 28
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.dcId, stream);
     StreamingUtils.writeLong(this.id, stream);
     StreamingUtils.writeLong(this.accessHash, stream);
 }
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.exchangeId, stream);
     StreamingUtils.writeTLBytes(this.g_a, stream);
     StreamingUtils.writeLong(this.KeyFingerprint, stream);
 }
Exemplo n.º 30
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.session_id.longValue(), stream);
 }