public override byte[] ToBytes()
 {
     return(TLUtils.Combine(
                TLUtils.SignatureToBytes(Signature),
                MsgId.ToBytes(),
                Object.ToBytes()));
 }
Example #2
0
 public override byte[] ToBytes()
 {
     return(TLUtils.Combine(
                TLUtils.SignatureToBytes(Signature),
                Flags.ToBytes(),
                MsgId.ToBytes(),
                Info.ToBytes()));
 }
Example #3
0
 public override byte[] ToBytes()
 {
     return(TLUtils.Combine(
                TLUtils.SignatureToBytes(Signature),
                Flags.ToBytes(),
                MsgId.ToBytes(),
                ToBytes(RequestedInfoId, Flags, (int)SendPaymentFormFlags.RequestedInfoId),
                ToBytes(ShippingOptionId, Flags, (int)SendPaymentFormFlags.ShippingOptionId),
                Credentials.ToBytes()));
 }