mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-07 15:36:23 +00:00
apply resharper's code style
This commit is contained in:
parent
1697db9d7f
commit
7fad829dd2
776 changed files with 14393 additions and 24502 deletions
|
|
@ -1,45 +1,31 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-791039645)]
|
||||
[TLObject(-791039645)]
|
||||
public class TLChannelParticipant : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -791039645;
|
||||
|
||||
public TLAbsChannelParticipant participant { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -791039645;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsChannelParticipant participant {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
participant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
participant = (TLAbsChannelParticipant) ObjectUtils.DeserializeObject(br);
|
||||
users = ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(participant,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(participant, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,48 +1,34 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-177282392)]
|
||||
[TLObject(-177282392)]
|
||||
public class TLChannelParticipants : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -177282392;
|
||||
|
||||
public int count { get; set; }
|
||||
public TLVector<TLAbsChannelParticipant> participants { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -177282392;
|
||||
}
|
||||
}
|
||||
|
||||
public int count {get;set;}
|
||||
public TLVector<TLAbsChannelParticipant> participants {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
count = br.ReadInt32();
|
||||
participants = (TLVector<TLAbsChannelParticipant>)ObjectUtils.DeserializeVector<TLAbsChannelParticipant>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
participants = ObjectUtils.DeserializeVector<TLAbsChannelParticipant>(br);
|
||||
users = ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
bw.Write(Constructor);
|
||||
bw.Write(count);
|
||||
ObjectUtils.SerializeObject(participants,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
|
||||
ObjectUtils.SerializeObject(participants, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(283557164)]
|
||||
[TLObject(283557164)]
|
||||
public class TLRequestCheckUsername : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 283557164;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public string username { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 283557164;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public string username {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
username = StringUtil.Deserialize(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
username = StringUtil.Deserialize(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
StringUtil.Serialize(username,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
StringUtil.Serialize(username, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,64 +1,50 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-192332417)]
|
||||
[TLObject(-192332417)]
|
||||
public class TLRequestCreateChannel : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -192332417;
|
||||
|
||||
public int flags { get; set; }
|
||||
public bool broadcast { get; set; }
|
||||
public bool megagroup { get; set; }
|
||||
public string title { get; set; }
|
||||
public string about { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -192332417;
|
||||
}
|
||||
flags = 0;
|
||||
flags = broadcast ? flags | 1 : flags & ~1;
|
||||
flags = megagroup ? flags | 2 : flags & ~2;
|
||||
}
|
||||
|
||||
public int flags {get;set;}
|
||||
public bool broadcast {get;set;}
|
||||
public bool megagroup {get;set;}
|
||||
public string title {get;set;}
|
||||
public string about {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
flags = 0;
|
||||
flags = broadcast ? (flags | 1) : (flags & ~1);
|
||||
flags = megagroup ? (flags | 2) : (flags & ~2);
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
flags = br.ReadInt32();
|
||||
broadcast = (flags & 1) != 0;
|
||||
megagroup = (flags & 2) != 0;
|
||||
title = StringUtil.Deserialize(br);
|
||||
about = StringUtil.Deserialize(br);
|
||||
|
||||
broadcast = (flags & 1) != 0;
|
||||
megagroup = (flags & 2) != 0;
|
||||
title = StringUtil.Deserialize(br);
|
||||
about = StringUtil.Deserialize(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
bw.Write(Constructor);
|
||||
ComputeFlags();
|
||||
bw.Write(flags);
|
||||
bw.Write(flags);
|
||||
|
||||
|
||||
StringUtil.Serialize(title,bw);
|
||||
StringUtil.Serialize(about,bw);
|
||||
|
||||
StringUtil.Serialize(title, bw);
|
||||
StringUtil.Serialize(about, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,48 +1,34 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-1072619549)]
|
||||
[TLObject(-1072619549)]
|
||||
public class TLRequestDeleteChannel : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1072619549;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1072619549;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using TeleSharp.TL;
|
||||
using TeleSharp.TL.Messages;
|
||||
|
||||
namespace TeleSharp.TL.Channels
|
||||
{
|
||||
[TLObject(-2067661490)]
|
||||
[TLObject(-2067661490)]
|
||||
public class TLRequestDeleteMessages : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -2067661490;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLVector<int> id { get; set; }
|
||||
public TLAffectedMessages Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -2067661490;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLVector<int> id {get;set;}
|
||||
public Messages.TLAffectedMessages Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
id = (TLVector<int>)ObjectUtils.DeserializeVector<int>(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
id = ObjectUtils.DeserializeVector<int>(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
ObjectUtils.SerializeObject(id,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
ObjectUtils.SerializeObject(id, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Messages.TLAffectedMessages)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAffectedMessages) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using TeleSharp.TL;
|
||||
using TeleSharp.TL.Messages;
|
||||
|
||||
namespace TeleSharp.TL.Channels
|
||||
{
|
||||
[TLObject(-787622117)]
|
||||
[TLObject(-787622117)]
|
||||
public class TLRequestDeleteUserHistory : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -787622117;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsInputUser user_id { get; set; }
|
||||
public TLAffectedHistory Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -787622117;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLAbsInputUser user_id {get;set;}
|
||||
public Messages.TLAffectedHistory Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
user_id = (TLAbsInputUser) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
ObjectUtils.SerializeObject(user_id,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
ObjectUtils.SerializeObject(user_id, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Messages.TLAffectedHistory)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAffectedHistory) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(333610782)]
|
||||
[TLObject(333610782)]
|
||||
public class TLRequestEditAbout : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 333610782;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public string about { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 333610782;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public string about {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
about = StringUtil.Deserialize(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
about = StringUtil.Deserialize(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
StringUtil.Serialize(about,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
StringUtil.Serialize(about, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,54 +1,40 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-344583728)]
|
||||
[TLObject(-344583728)]
|
||||
public class TLRequestEditAdmin : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -344583728;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsInputUser user_id { get; set; }
|
||||
public TLAbsChannelParticipantRole role { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -344583728;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLAbsInputUser user_id {get;set;}
|
||||
public TLAbsChannelParticipantRole role {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
|
||||
role = (TLAbsChannelParticipantRole)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
user_id = (TLAbsInputUser) ObjectUtils.DeserializeObject(br);
|
||||
role = (TLAbsChannelParticipantRole) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
ObjectUtils.SerializeObject(user_id,bw);
|
||||
ObjectUtils.SerializeObject(role,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
ObjectUtils.SerializeObject(user_id, bw);
|
||||
ObjectUtils.SerializeObject(role, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-248621111)]
|
||||
[TLObject(-248621111)]
|
||||
public class TLRequestEditPhoto : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -248621111;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsInputChatPhoto photo { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -248621111;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLAbsInputChatPhoto photo {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
photo = (TLAbsInputChatPhoto)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
photo = (TLAbsInputChatPhoto) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
ObjectUtils.SerializeObject(photo,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
ObjectUtils.SerializeObject(photo, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(1450044624)]
|
||||
[TLObject(1450044624)]
|
||||
public class TLRequestEditTitle : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 1450044624;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public string title { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1450044624;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public string title {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
title = StringUtil.Deserialize(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
title = StringUtil.Deserialize(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
StringUtil.Serialize(title,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
StringUtil.Serialize(title, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,48 +1,34 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-950663035)]
|
||||
[TLObject(-950663035)]
|
||||
public class TLRequestExportInvite : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -950663035;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsExportedChatInvite Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -950663035;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLAbsExportedChatInvite Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsExportedChatInvite)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsExportedChatInvite) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-934882771)]
|
||||
[TLObject(-934882771)]
|
||||
public class TLRequestExportMessageLink : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -934882771;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public int id { get; set; }
|
||||
public TLExportedMessageLink Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -934882771;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public int id {get;set;}
|
||||
public TLExportedMessageLink Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
id = br.ReadInt32();
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
id = br.ReadInt32();
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
bw.Write(id);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
bw.Write(id);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLExportedMessageLink)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLExportedMessageLink) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +1,32 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using TeleSharp.TL;
|
||||
using TeleSharp.TL.Messages;
|
||||
|
||||
namespace TeleSharp.TL.Channels
|
||||
{
|
||||
[TLObject(-1920105769)]
|
||||
[TLObject(-1920105769)]
|
||||
public class TLRequestGetAdminedPublicChannels : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1920105769;
|
||||
|
||||
public TLChats Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1920105769;
|
||||
}
|
||||
}
|
||||
|
||||
public Messages.TLChats Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Messages.TLChats)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLChats) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,48 +1,35 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using TeleSharp.TL;
|
||||
using TeleSharp.TL.Messages;
|
||||
|
||||
namespace TeleSharp.TL.Channels
|
||||
{
|
||||
[TLObject(176122811)]
|
||||
[TLObject(176122811)]
|
||||
public class TLRequestGetChannels : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 176122811;
|
||||
|
||||
public TLVector<TLAbsInputChannel> id { get; set; }
|
||||
public TLChats Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 176122811;
|
||||
}
|
||||
}
|
||||
|
||||
public TLVector<TLAbsInputChannel> id {get;set;}
|
||||
public Messages.TLChats Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
id = (TLVector<TLAbsInputChannel>)ObjectUtils.DeserializeVector<TLAbsInputChannel>(br);
|
||||
|
||||
id = ObjectUtils.DeserializeVector<TLAbsInputChannel>(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(id,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(id, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Messages.TLChats)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLChats) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,48 +1,34 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(141781513)]
|
||||
[TLObject(141781513)]
|
||||
public class TLRequestGetFullChannel : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 141781513;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public Messages.TLChatFull Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 141781513;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public Messages.TLChatFull Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Messages.TLChatFull)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Messages.TLChatFull) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using TeleSharp.TL;
|
||||
using TeleSharp.TL.Messages;
|
||||
|
||||
namespace TeleSharp.TL.Channels
|
||||
{
|
||||
[TLObject(-1814580409)]
|
||||
[TLObject(-1814580409)]
|
||||
public class TLRequestGetMessages : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1814580409;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLVector<int> id { get; set; }
|
||||
public TLAbsMessages Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1814580409;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLVector<int> id {get;set;}
|
||||
public Messages.TLAbsMessages Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
id = (TLVector<int>)ObjectUtils.DeserializeVector<int>(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
id = ObjectUtils.DeserializeVector<int>(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
ObjectUtils.SerializeObject(id,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
ObjectUtils.SerializeObject(id, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsMessages) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(1416484774)]
|
||||
[TLObject(1416484774)]
|
||||
public class TLRequestGetParticipant : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 1416484774;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsInputUser user_id { get; set; }
|
||||
public TLChannelParticipant Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1416484774;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLAbsInputUser user_id {get;set;}
|
||||
public Channels.TLChannelParticipant Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
user_id = (TLAbsInputUser) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
ObjectUtils.SerializeObject(user_id,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
ObjectUtils.SerializeObject(user_id, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Channels.TLChannelParticipant)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLChannelParticipant) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,57 +1,43 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(618237842)]
|
||||
[TLObject(618237842)]
|
||||
public class TLRequestGetParticipants : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 618237842;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsChannelParticipantsFilter filter { get; set; }
|
||||
public int offset { get; set; }
|
||||
public int limit { get; set; }
|
||||
public TLChannelParticipants Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 618237842;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLAbsChannelParticipantsFilter filter {get;set;}
|
||||
public int offset {get;set;}
|
||||
public int limit {get;set;}
|
||||
public Channels.TLChannelParticipants Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
filter = (TLAbsChannelParticipantsFilter)ObjectUtils.DeserializeObject(br);
|
||||
offset = br.ReadInt32();
|
||||
limit = br.ReadInt32();
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
filter = (TLAbsChannelParticipantsFilter) ObjectUtils.DeserializeObject(br);
|
||||
offset = br.ReadInt32();
|
||||
limit = br.ReadInt32();
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
ObjectUtils.SerializeObject(filter,bw);
|
||||
bw.Write(offset);
|
||||
bw.Write(limit);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
ObjectUtils.SerializeObject(filter, bw);
|
||||
bw.Write(offset);
|
||||
bw.Write(limit);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Channels.TLChannelParticipants)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLChannelParticipants) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(429865580)]
|
||||
[TLObject(429865580)]
|
||||
public class TLRequestInviteToChannel : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 429865580;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLVector<TLAbsInputUser> users { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 429865580;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLVector<TLAbsInputUser> users {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
users = (TLVector<TLAbsInputUser>)ObjectUtils.DeserializeVector<TLAbsInputUser>(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
users = ObjectUtils.DeserializeVector<TLAbsInputUser>(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,48 +1,34 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(615851205)]
|
||||
[TLObject(615851205)]
|
||||
public class TLRequestJoinChannel : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 615851205;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 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);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,54 +1,40 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-1502421484)]
|
||||
[TLObject(-1502421484)]
|
||||
public class TLRequestKickFromChannel : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1502421484;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsInputUser user_id { get; set; }
|
||||
public bool kicked { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1502421484;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLAbsInputUser user_id {get;set;}
|
||||
public bool kicked {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
|
||||
kicked = BoolUtil.Deserialize(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
user_id = (TLAbsInputUser) ObjectUtils.DeserializeObject(br);
|
||||
kicked = BoolUtil.Deserialize(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
ObjectUtils.SerializeObject(user_id,bw);
|
||||
BoolUtil.Serialize(kicked,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
ObjectUtils.SerializeObject(user_id, bw);
|
||||
BoolUtil.Serialize(kicked, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,48 +1,34 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-130635115)]
|
||||
[TLObject(-130635115)]
|
||||
public class TLRequestLeaveChannel : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -130635115;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -130635115;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-871347913)]
|
||||
[TLObject(-871347913)]
|
||||
public class TLRequestReadHistory : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -871347913;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public int max_id { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -871347913;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public int max_id {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
max_id = br.ReadInt32();
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
max_id = br.ReadInt32();
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
bw.Write(max_id);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
bw.Write(max_id);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,54 +1,40 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-32999408)]
|
||||
[TLObject(-32999408)]
|
||||
public class TLRequestReportSpam : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -32999408;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public TLAbsInputUser user_id { get; set; }
|
||||
public TLVector<int> id { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -32999408;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public TLAbsInputUser user_id {get;set;}
|
||||
public TLVector<int> id {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
|
||||
id = (TLVector<int>)ObjectUtils.DeserializeVector<int>(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
user_id = (TLAbsInputUser) ObjectUtils.DeserializeObject(br);
|
||||
id = ObjectUtils.DeserializeVector<int>(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
ObjectUtils.SerializeObject(user_id,bw);
|
||||
ObjectUtils.SerializeObject(id,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
ObjectUtils.SerializeObject(user_id, bw);
|
||||
ObjectUtils.SerializeObject(id, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(1231065863)]
|
||||
[TLObject(1231065863)]
|
||||
public class TLRequestToggleInvites : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 1231065863;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public bool enabled { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1231065863;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public bool enabled {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
enabled = BoolUtil.Deserialize(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
enabled = BoolUtil.Deserialize(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
BoolUtil.Serialize(enabled,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
BoolUtil.Serialize(enabled, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(527021574)]
|
||||
[TLObject(527021574)]
|
||||
public class TLRequestToggleSignatures : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 527021574;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public bool enabled { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 527021574;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public bool enabled {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
enabled = BoolUtil.Deserialize(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
enabled = BoolUtil.Deserialize(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
BoolUtil.Serialize(enabled,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
BoolUtil.Serialize(enabled, bw);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,60 +1,46 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(-1490162350)]
|
||||
[TLObject(-1490162350)]
|
||||
public class TLRequestUpdatePinnedMessage : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1490162350;
|
||||
|
||||
public int flags { get; set; }
|
||||
public bool silent { get; set; }
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public int id { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1490162350;
|
||||
}
|
||||
flags = 0;
|
||||
flags = silent ? flags | 1 : flags & ~1;
|
||||
}
|
||||
|
||||
public int flags {get;set;}
|
||||
public bool silent {get;set;}
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public int id {get;set;}
|
||||
public TLAbsUpdates Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
flags = 0;
|
||||
flags = silent ? (flags | 1) : (flags & ~1);
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
flags = br.ReadInt32();
|
||||
silent = (flags & 1) != 0;
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
id = br.ReadInt32();
|
||||
|
||||
silent = (flags & 1) != 0;
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
id = br.ReadInt32();
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
bw.Write(Constructor);
|
||||
ComputeFlags();
|
||||
bw.Write(flags);
|
||||
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
bw.Write(id);
|
||||
bw.Write(flags);
|
||||
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
bw.Write(id);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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.Channels
|
||||
{
|
||||
[TLObject(890549214)]
|
||||
[TLObject(890549214)]
|
||||
public class TLRequestUpdateUsername : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 890549214;
|
||||
|
||||
public TLAbsInputChannel channel { get; set; }
|
||||
public string username { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 890549214;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputChannel channel {get;set;}
|
||||
public string username {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
||||
username = StringUtil.Deserialize(br);
|
||||
|
||||
channel = (TLAbsInputChannel) ObjectUtils.DeserializeObject(br);
|
||||
username = StringUtil.Deserialize(br);
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel,bw);
|
||||
StringUtil.Serialize(username,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(channel, bw);
|
||||
StringUtil.Serialize(username, 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