mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-04 14:08:35 +00:00
parent
0d55940c12
commit
133b9fdf6c
784 changed files with 17201 additions and 10048 deletions
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Photos
|
||||
{
|
||||
[TLObject(539045032)]
|
||||
[TLObject(539045032)]
|
||||
public class TLPhoto : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,27 +18,27 @@ namespace TeleSharp.TL.Photos
|
|||
}
|
||||
}
|
||||
|
||||
public TLAbsPhoto photo {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
public TLAbsPhoto photo { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(photo,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(photo, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue