Example #1
0
 public override void Write(TLBinaryWriter to)
 {
     to.WriteInt32(Id);
     to.WriteBoolean(Critical);
     to.WriteString(Url ?? string.Empty);
     to.WriteString(Text ?? string.Empty);
 }
Example #2
0
 public override void Write(TLBinaryWriter to)
 {
     to.WriteByteArray(CurrentSalt);
     to.WriteByteArray(NewSalt);
     to.WriteString(Hint ?? string.Empty);
     to.WriteBoolean(HasRecovery);
     to.WriteString(EmailUnconfirmedPattern ?? string.Empty);
 }
        public override void Write(TLBinaryWriter to)
        {
            UpdateFlags();

            to.WriteInt32((Int32)Flags);
            to.WriteString(PhoneNumber ?? string.Empty);
            if (HasCurrentNumber)
            {
                to.WriteBoolean(CurrentNumber.Value);
            }
        }
 public override void Write(TLBinaryWriter to)
 {
     to.WriteObject(Channel);
     to.WriteBoolean(Enabled);
 }
Example #5
0
 public override void Write(TLBinaryWriter to)
 {
     to.WriteObject(Id);
     to.WriteBoolean(Unfave);
 }
 public override void Write(TLBinaryWriter to)
 {
     to.WriteInt32((Int32)Flags);
     to.WriteObject(Id);
     to.WriteBoolean(Unsave);
 }
Example #7
0
 public override void Write(TLBinaryWriter to)
 {
     to.WriteInt32(ChatId);
     to.WriteBoolean(Enabled);
 }
 public override void Write(TLBinaryWriter to)
 {
     to.WriteObject(StickerSet);
     to.WriteBoolean(Archived);
 }
Example #9
0
 public override void Write(TLBinaryWriter to)
 {
     to.WriteObject(Peer);
     to.WriteBoolean(Typing);
 }
Example #10
0
 public override void Write(TLBinaryWriter to)
 {
     to.WriteBoolean(PhoneRegistered);
 }
 public override void Write(TLBinaryWriter to)
 {
     to.WriteBoolean(Offline);
 }
 public override void Write(TLBinaryWriter to)
 {
     to.WriteObject(Peer);
     to.WriteObject(Id);
     to.WriteBoolean(Increment);
 }
 public override void Write(TLBinaryWriter to)
 {
     to.WriteInt32(ChatId);
     to.WriteObject(UserId);
     to.WriteBoolean(IsAdmin);
 }