示例#1
0
 public override byte[] ToBytes()
 {
     return(TLUtils.Combine(
                TLUtils.SignatureToBytes(Signature),
                FeedId.ToBytes(),
                MaxPosition.ToBytes()));
 }
示例#2
0
 public override byte[] ToBytes()
 {
     return(TLUtils.Combine(
                TLUtils.SignatureToBytes(Signature),
                FeedId.ToBytes(),
                Channels.ToBytes(),
                AlsoNewlyJoined.ToBytes()));
 }
示例#3
0
 public override byte[] ToBytes()
 {
     return(TLUtils.Combine(
                TLUtils.SignatureToBytes(Signature),
                Flags.ToBytes(),
                FeedId.ToBytes(),
                ToBytes(OffsetPosition, Flags, (int)GetFeedFlags.OffsetPosition),
                AddOffset.ToBytes(),
                Limit.ToBytes(),
                ToBytes(MaxPosition, Flags, (int)GetFeedFlags.MaxPosition),
                ToBytes(MinPosition, Flags, (int)GetFeedFlags.MinPosition),
                Hash.ToBytes()));
 }