예제 #1
0
 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);
     }
 }
예제 #2
0
 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;
 }
예제 #3
0
 public override void DeserializeBody(BinaryReader br)
 {
     Flags  = br.ReadInt32();
     ChatId = br.ReadInt32();
     if ((Flags & 1) != 0)
     {
         SelfParticipant = (TLAbsChatParticipant)ObjectUtils.DeserializeObject(br);
     }
     else
     {
         SelfParticipant = null;
     }
 }
예제 #4
0
 public virtual void setSelfParticipant(TLAbsChatParticipant selfParticipant)
 {
     this.selfParticipant = selfParticipant;
 }