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.user = StreamingUtils.readTLObject(stream, context); if ((this.flags & 2) != 0) { this.about = StreamingUtils.readTLString(stream); } this.link = StreamingUtils.readTLObject(stream, context); if ((this.flags & 4) != 0) { this.profilePhoto = StreamingUtils.readTLObject(stream, context); } this.notifySettings = StreamingUtils.readTLObject(stream, context); if ((this.flags & 8) != 0) { this.botInfo = StreamingUtils.readTLObject(stream, context); } this.commonChatsCount = StreamingUtils.readInt(stream); }
public override void DeserializeResponse(BinaryReader br) { this.Response = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br); }
public virtual void setNotifySettings(TLAbsPeerNotifySettings notifySettings) { this.notifySettings = notifySettings; }
public override void deserializeResponse(BinaryReader br) { Response = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br); }
public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsNotifyPeer)ObjectUtils.DeserializeObject(br); NotifySettings = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br); }
public override void deserializeBody(InputStream stream, TLContext context) { this.peer = StreamingUtils.readTLObject(stream, context); this.notifySettings = StreamingUtils.readTLObject(stream, context); }