예제 #1
0
        public override void DeserializeBody(BinaryReader br)
        {
            Flags  = br.ReadInt32();
            PollId = br.ReadInt64();
            if ((Flags & 1) != 0)
            {
                Poll = (TLPoll)ObjectUtils.DeserializeObject(br);
            }
            else
            {
                Poll = null;
            }

            Results = (TLPollResults)ObjectUtils.DeserializeObject(br);
        }
예제 #2
0
 public override void DeserializeBody(BinaryReader br)
 {
     Poll    = (TLPoll)ObjectUtils.DeserializeObject(br);
     Results = (TLPollResults)ObjectUtils.DeserializeObject(br);
 }