mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-04 22:18:59 +00:00
Generator Must Respect MS .NET API guidelines
This commit is contained in:
parent
3ba3ea53fd
commit
d769dd3c2f
646 changed files with 7213 additions and 7166 deletions
|
|
@ -18,7 +18,7 @@ namespace TeleSharp.TL.Messages
|
|||
}
|
||||
}
|
||||
|
||||
public TLInputEncryptedChat peer { get; set; }
|
||||
public TLInputEncryptedChat Peer { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
|
|
@ -29,17 +29,17 @@ namespace TeleSharp.TL.Messages
|
|||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
peer = (TLInputEncryptedChat)ObjectUtils.DeserializeObject(br);
|
||||
Peer = (TLInputEncryptedChat)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(peer, bw);
|
||||
ObjectUtils.SerializeObject(Peer, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
public override void DeserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue