public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); AutofillNewBroadcasts = (Flags & 1) != 0; AutofillPublicGroups = (Flags & 2) != 0; AutofillNewCorrespondents = (Flags & 4) != 0; Id = br.ReadInt32(); Title = StringUtil.Deserialize(br); if ((Flags & 8) != 0) { Photo = (TLAbsChatPhoto)ObjectUtils.DeserializeObject(br); } else { Photo = null; } }
public override void DeserializeBody(BinaryReader br) { PrevPhoto = (TLAbsChatPhoto)ObjectUtils.DeserializeObject(br); NewPhoto = (TLAbsChatPhoto)ObjectUtils.DeserializeObject(br); }