mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
34 lines
923 B
C#
34 lines
923 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(-1670052855)]
|
|
public class TLFoundGifCached : TLAbsFoundGif
|
|
{
|
|
public override int Constructor => -1670052855;
|
|
|
|
public string url { get; set; }
|
|
public TLAbsPhoto photo { get; set; }
|
|
public TLAbsDocument document { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
url = StringUtil.Deserialize(br);
|
|
photo = (TLAbsPhoto) ObjectUtils.DeserializeObject(br);
|
|
document = (TLAbsDocument) ObjectUtils.DeserializeObject(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
StringUtil.Serialize(url, bw);
|
|
ObjectUtils.SerializeObject(photo, bw);
|
|
ObjectUtils.SerializeObject(document, bw);
|
|
}
|
|
}
|
|
} |