TLSharp/TeleSharp.TL/TL/TLInputChatUploadedPhoto.cs
2017-11-09 19:37:09 +08:00

43 lines
854 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-1837345356)]
public class TLInputChatUploadedPhoto : TLAbsInputChatPhoto
{
public override int Constructor
{
get
{
return -1837345356;
}
}
public TLAbsInputFile File { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
File = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(File, bw);
}
}
}