public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     output.Write(MuteUntil.ToBytes());
     output.Write(Sound.ToBytes());
     output.Write(ShowPreviews.ToBytes());
     output.Write(EventsMask.ToBytes());
 }
예제 #2
0
 public override byte[] ToBytes()
 {
     return(TLUtils.Combine(
                TLUtils.SignatureToBytes(Signature),
                MuteUntil.ToBytes(),
                Sound.ToBytes(),
                ShowPreviews.ToBytes(),
                EventsMask.ToBytes()));
 }