コード例 #1
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;
     }
 }
コード例 #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;
     }
 }