Inheritance: TeleSharp.TL.TLAbsMaskCoords
Beispiel #1
0
 public override void DeserializeBody(BinaryReader br)
 {
     flags    = br.ReadInt32();
     document = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br);
     emoji    = StringUtil.Deserialize(br);
     if ((flags & 1) != 0)
     {
         mask_coords = (TLMaskCoords)ObjectUtils.DeserializeObject(br);
     }
     else
     {
         mask_coords = null;
     }
 }
Beispiel #2
0
 public override void DeserializeBody(BinaryReader br)
 {
     Flags      = br.ReadInt32();
     Mask       = (Flags & 2) != 0;
     Alt        = StringUtil.Deserialize(br);
     Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br);
     if ((Flags & 1) != 0)
     {
         MaskCoords = (TLMaskCoords)ObjectUtils.DeserializeObject(br);
     }
     else
     {
         MaskCoords = null;
     }
 }