2016-09-24 15:38:26 +02:00
|
|
|
using System.IO;
|
2017-04-13 08:38:01 +02:00
|
|
|
|
2016-09-24 15:38:26 +02:00
|
|
|
namespace TeleSharp.TL
|
|
|
|
|
{
|
2017-04-13 08:38:01 +02:00
|
|
|
[TLObject(771925524)]
|
2016-09-24 15:38:26 +02:00
|
|
|
public class TLChatFull : TLAbsChatFull
|
|
|
|
|
{
|
2017-04-13 08:38:01 +02:00
|
|
|
public override int Constructor => 771925524;
|
2016-09-24 15:38:26 +02:00
|
|
|
|
2017-04-13 08:38:01 +02:00
|
|
|
public int id { get; set; }
|
|
|
|
|
public TLAbsChatParticipants participants { get; set; }
|
|
|
|
|
public TLAbsPhoto chat_photo { get; set; }
|
|
|
|
|
public TLAbsPeerNotifySettings notify_settings { get; set; }
|
|
|
|
|
public TLAbsExportedChatInvite exported_invite { get; set; }
|
|
|
|
|
public TLVector<TLBotInfo> bot_info { get; set; }
|
2016-09-24 15:38:26 +02:00
|
|
|
|
|
|
|
|
|
2017-04-13 08:38:01 +02:00
|
|
|
public void ComputeFlags()
|
|
|
|
|
{
|
|
|
|
|
}
|
2016-09-24 15:38:26 +02:00
|
|
|
|
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
|
|
|
{
|
|
|
|
|
id = br.ReadInt32();
|
2017-04-13 08:38:01 +02:00
|
|
|
participants = (TLAbsChatParticipants) ObjectUtils.DeserializeObject(br);
|
|
|
|
|
chat_photo = (TLAbsPhoto) ObjectUtils.DeserializeObject(br);
|
|
|
|
|
notify_settings = (TLAbsPeerNotifySettings) ObjectUtils.DeserializeObject(br);
|
|
|
|
|
exported_invite = (TLAbsExportedChatInvite) ObjectUtils.DeserializeObject(br);
|
|
|
|
|
bot_info = ObjectUtils.DeserializeVector<TLBotInfo>(br);
|
2016-09-24 15:38:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
|
|
|
{
|
2017-04-13 08:38:01 +02:00
|
|
|
bw.Write(Constructor);
|
2016-09-24 15:38:26 +02:00
|
|
|
bw.Write(id);
|
2017-04-13 08:38:01 +02:00
|
|
|
ObjectUtils.SerializeObject(participants, bw);
|
|
|
|
|
ObjectUtils.SerializeObject(chat_photo, bw);
|
|
|
|
|
ObjectUtils.SerializeObject(notify_settings, bw);
|
|
|
|
|
ObjectUtils.SerializeObject(exported_invite, bw);
|
|
|
|
|
ObjectUtils.SerializeObject(bot_info, bw);
|
2016-09-24 15:38:26 +02:00
|
|
|
}
|
|
|
|
|
}
|
2017-04-13 08:38:01 +02:00
|
|
|
}
|