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()); }
public override byte[] ToBytes() { return(TLUtils.Combine( TLUtils.SignatureToBytes(Signature), MuteUntil.ToBytes(), Sound.ToBytes(), ShowPreviews.ToBytes(), EventsMask.ToBytes())); }