mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-06 23:15:16 +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.Contacts
|
||||
{
|
||||
[TLObject(451113900)]
|
||||
[TLObject(451113900)]
|
||||
public class TLRequestResetTopPeerRating : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,34 +18,34 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLAbsTopPeerCategory category {get;set;}
|
||||
public TLAbsInputPeer peer {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
public TLAbsTopPeerCategory category { get; set; }
|
||||
public TLAbsInputPeer peer { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
category = (TLAbsTopPeerCategory)ObjectUtils.DeserializeObject(br);
|
||||
peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
|
||||
peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(category,bw);
|
||||
ObjectUtils.SerializeObject(peer,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(category, bw);
|
||||
ObjectUtils.SerializeObject(peer, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue