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); }
public override void DeserializeBody(BinaryReader br) { Poll = (TLPoll)ObjectUtils.DeserializeObject(br); Results = (TLPollResults)ObjectUtils.DeserializeObject(br); }