forked from sochix/TLSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TLInputPeerUser.cs
45 lines (37 loc) · 895 Bytes
/
TLInputPeerUser.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(2072935910)]
public class TLInputPeerUser : TLAbsInputPeer
{
public override int Constructor
{
get
{
return 2072935910;
}
}
public int UserId { get; set; }
public long AccessHash { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
UserId = br.ReadInt32();
AccessHash = br.ReadInt64();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(UserId);
bw.Write(AccessHash);
}
}
}