mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
34 lines
848 B
C#
34 lines
848 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL.Channels
|
|
{
|
|
[TLObject(615851205)]
|
|
public class TLRequestJoinChannel : TLMethod
|
|
{
|
|
public override int Constructor => 615851205;
|
|
|
|
public TLAbsInputChannel channel { get; set; }
|
|
public TLAbsUpdates Response { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(channel, bw);
|
|
}
|
|
|
|
public override void deserializeResponse(BinaryReader br)
|
|
{
|
|
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
|
}
|
|
}
|
|
} |