public override void deserializeBody(InputStream stream, TLContext context) { this.peer = StreamingUtils.readTLObject(stream, context); this.maxId = StreamingUtils.readInt(stream); this.pts = StreamingUtils.readInt(stream); this.ptsCount = StreamingUtils.readInt(stream); }
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 & 8) != 0) { this.replyToMessageId = StreamingUtils.readInt(stream); } this.date = StreamingUtils.readInt(stream); this.action = StreamingUtils.readTLObject(stream, context); }
public override void deserializeBody(InputStream stream, TLContext context) { this.flags = StreamingUtils.readInt(stream); this.queryId = StreamingUtils.readLong(stream); this.userId = StreamingUtils.readInt(stream); this.peer = StreamingUtils.readTLObject(stream, context); this.msgId = StreamingUtils.readInt(stream); this.chatInstance = StreamingUtils.readLong(stream); if ((this.flags & 1) != 0) { this.data = StreamingUtils.readTLBytes(stream, context); } if ((this.flags & 2) != 0) { this.gameShortName = StreamingUtils.readTLString(stream); } }
public override void deserializeBody(InputStream stream, TLContext context) { this.flags = StreamingUtils.readInt(stream); this.peer = StreamingUtils.readTLObject(stream, context); this.topMessage = StreamingUtils.readInt(stream); this.readInboxMaxId = StreamingUtils.readInt(stream); this.readOutboxMaxId = StreamingUtils.readInt(stream); this.unreadCount = StreamingUtils.readInt(stream); this.notifySettings = StreamingUtils.readTLObject(stream, context); if ((this.flags & 1) != 0) { this.pts = StreamingUtils.readInt(stream); } if ((this.flags & 2) != 0) { this.draft = StreamingUtils.readTLObject(stream, context); } }
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); } }
public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Pinned = (Flags & 1) != 0; Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); }
public override void DeserializeBody(BinaryReader br) { flags = br.ReadInt32(); @out = (flags & 2) != 0; mentioned = (flags & 16) != 0; media_unread = (flags & 32) != 0; silent = (flags & 8192) != 0; post = (flags & 16384) != 0; id = br.ReadInt32(); if ((flags & 256) != 0) from_id = br.ReadInt32(); else from_id = null; to_id = (TLAbsPeer)ObjectUtils.DeserializeObject(br); if ((flags & 8) != 0) reply_to_msg_id = br.ReadInt32(); else reply_to_msg_id = null; date = br.ReadInt32(); action = (TLAbsMessageAction)ObjectUtils.DeserializeObject(br); }
public virtual void setPeer(TLAbsPeer peer) { this.peer = peer; }
public override void deserializeBody(InputStream stream, TLContext context) { this.peer = StreamingUtils.readTLObject(stream, context); }
public override void DeserializeBody(BinaryReader br) { peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); }
public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); }
public virtual void setToId(TLAbsPeer toId) { this.toId = toId; }