TLSharp/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs

40 lines
948 B
C#
Raw Normal View History

2017-11-09 10:21:33 +01:00
using System.IO;
namespace TeleSharp.TL
{
[TLObject(-1204857405)]
public class TLChannelAdminLogEventActionChangePhoto : TLAbsChannelAdminLogEventAction
{
public override int Constructor
{
get
{
return -1204857405;
}
}
public TLAbsChatPhoto prev_photo { get; set; }
public TLAbsChatPhoto new_photo { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
prev_photo = (TLAbsChatPhoto)ObjectUtils.DeserializeObject(br);
new_photo = (TLAbsChatPhoto)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(prev_photo, bw);
ObjectUtils.SerializeObject(new_photo, bw);
}
}
}