public override void deserializeBody(InputStream stream, TLContext context) { this.flags = StreamingUtils.readInt(stream); base.chatId = StreamingUtils.readInt(stream); if ((this.flags & 1) != 0) { this.selfParticipant = StreamingUtils.readTLObject(stream, context); } }
public override void DeserializeBody(BinaryReader br) { flags = br.ReadInt32(); chat_id = br.ReadInt32(); if ((flags & 1) != 0) self_participant = (TLAbsChatParticipant)ObjectUtils.DeserializeObject(br); else self_participant = null; }
public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); ChatId = br.ReadInt32(); if ((Flags & 1) != 0) { SelfParticipant = (TLAbsChatParticipant)ObjectUtils.DeserializeObject(br); } else { SelfParticipant = null; } }
public virtual void setSelfParticipant(TLAbsChatParticipant selfParticipant) { this.selfParticipant = selfParticipant; }