TLSharp/TeleSharp.TL/TL/TLChatFull.cs
Andrzej Gołaszewski ca3a71e39a update to layer 71
code formatting
2017-12-20 12:06:31 +01:00

54 lines
1.6 KiB
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(771925524)]
public class TLChatFull : TLAbsChatFull
{
public TLVector<TLBotInfo> BotInfo { get; set; }
public TLAbsPhoto ChatPhoto { get; set; }
public override int Constructor
{
get
{
return 771925524;
}
}
public TLAbsExportedChatInvite ExportedInvite { get; set; }
public int Id { get; set; }
public TLAbsPeerNotifySettings NotifySettings { get; set; }
public TLAbsChatParticipants Participants { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Id = br.ReadInt32();
Participants = (TLAbsChatParticipants)ObjectUtils.DeserializeObject(br);
ChatPhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br);
NotifySettings = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br);
ExportedInvite = (TLAbsExportedChatInvite)ObjectUtils.DeserializeObject(br);
BotInfo = (TLVector<TLBotInfo>)ObjectUtils.DeserializeVector<TLBotInfo>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Id);
ObjectUtils.SerializeObject(Participants, bw);
ObjectUtils.SerializeObject(ChatPhoto, bw);
ObjectUtils.SerializeObject(NotifySettings, bw);
ObjectUtils.SerializeObject(ExportedInvite, bw);
ObjectUtils.SerializeObject(BotInfo, bw);
}
}
}