This commit is contained in:
Afshin Arani 2016-10-13 21:03:16 +03:30
parent 0752c60082
commit 23e647e81c
81 changed files with 2631 additions and 213 deletions

View file

@ -0,0 +1,51 @@
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.Account
{
[TLObject(1596029123)]
public class TLRequestConfirmPhone : TLMethod
{
public override int Constructor
{
get
{
return 1596029123;
}
}
public string phone_code_hash {get;set;}
public string phone_code {get;set;}
public bool Response{ get; set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
phone_code_hash = StringUtil.Deserialize(br);
phone_code = StringUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(phone_code_hash,bw);
StringUtil.Serialize(phone_code,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
}
}
}

View file

@ -0,0 +1,66 @@
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.Account
{
[TLObject(353818557)]
public class TLRequestSendConfirmPhoneCode : TLMethod
{
public override int Constructor
{
get
{
return 353818557;
}
}
public int flags {get;set;}
public bool allow_flashcall {get;set;}
public string hash {get;set;}
public bool? current_number {get;set;}
public Auth.TLSentCode Response{ get; set;}
public void ComputeFlags()
{
flags = 0;
flags = allow_flashcall ? (flags | 1) : (flags & ~1);
flags = current_number != null ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
flags = br.ReadInt32();
allow_flashcall = (flags & 1) != 0;
hash = StringUtil.Deserialize(br);
if ((flags & 1) != 0)
current_number = BoolUtil.Deserialize(br);
else
current_number = null;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ComputeFlags();
bw.Write(flags);
StringUtil.Serialize(hash,bw);
if ((flags & 1) != 0)
BoolUtil.Serialize(current_number.Value,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Auth.TLSentCode)ObjectUtils.DeserializeObject(br);
}
}
}

View file

@ -7,35 +7,49 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Auth
{
[TLObject(-16553231)]
[TLObject(-855308010)]
public class TLAuthorization : TLObject
{
public override int Constructor
{
get
{
return -16553231;
return -855308010;
}
}
public TLAbsUser user {get;set;}
public int flags {get;set;}
public int? tmp_sessions {get;set;}
public TLAbsUser user {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = tmp_sessions != null ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
user = (TLAbsUser)ObjectUtils.DeserializeObject(br);
flags = br.ReadInt32();
if ((flags & 1) != 0)
tmp_sessions = br.ReadInt32();
else
tmp_sessions = null;
user = (TLAbsUser)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(user,bw);
ComputeFlags();
bw.Write(flags);
if ((flags & 1) != 0)
bw.Write(tmp_sessions.Value);
ObjectUtils.SerializeObject(user,bw);
}
}

View file

@ -0,0 +1,48 @@
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.Auth
{
[TLObject(-1907842680)]
public class TLRequestDropTempAuthKeys : TLMethod
{
public override int Constructor
{
get
{
return -1907842680;
}
}
public TLVector<long> except_auth_keys {get;set;}
public bool Response{ get; set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
except_auth_keys = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(except_auth_keys,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
}
}
}

View file

@ -0,0 +1,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.Channels
{
[TLObject(-1920105769)]
public class TLRequestGetAdminedPublicChannels : TLMethod
{
public override int Constructor
{
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);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Messages.TLChats)ObjectUtils.DeserializeObject(br);
}
}
}

View file

@ -0,0 +1,13 @@
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.Messages
{
public abstract class TLAbsFeaturedStickers : TLObject
{
}
}

View file

@ -0,0 +1,13 @@
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.Messages
{
public abstract class TLAbsRecentStickers : TLObject
{
}
}

View file

@ -0,0 +1,13 @@
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.Messages
{
public abstract class TLAbsStickerSetInstallResult : TLObject
{
}
}

View file

@ -0,0 +1,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.Messages
{
[TLObject(1338747336)]
public class TLArchivedStickers : TLObject
{
public override int Constructor
{
get
{
return 1338747336;
}
}
public int count {get;set;}
public TLVector<TLAbsStickerSetCovered> sets {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
count = br.ReadInt32();
sets = (TLVector<TLAbsStickerSetCovered>)ObjectUtils.DeserializeVector<TLAbsStickerSetCovered>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(count);
ObjectUtils.SerializeObject(sets,bw);
}
}
}

View file

@ -7,27 +7,31 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Messages
{
[TLObject(308605382)]
[TLObject(-1324486149)]
public class TLBotCallbackAnswer : TLObject
{
public override int Constructor
{
get
{
return 308605382;
return -1324486149;
}
}
public int flags {get;set;}
public bool alert {get;set;}
public bool has_url {get;set;}
public string message {get;set;}
public string url {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = alert ? (flags | 2) : (flags & ~2);
flags = has_url ? (flags | 8) : (flags & ~8);
flags = message != null ? (flags | 1) : (flags & ~1);
flags = url != null ? (flags | 4) : (flags & ~4);
}
@ -35,11 +39,17 @@ flags = message != null ? (flags | 1) : (flags & ~1);
{
flags = br.ReadInt32();
alert = (flags & 2) != 0;
has_url = (flags & 8) != 0;
if ((flags & 1) != 0)
message = StringUtil.Deserialize(br);
else
message = null;
if ((flags & 4) != 0)
url = StringUtil.Deserialize(br);
else
url = null;
}
@ -49,8 +59,11 @@ message = null;
ComputeFlags();
bw.Write(flags);
if ((flags & 1) != 0)
StringUtil.Serialize(message,bw);
if ((flags & 4) != 0)
StringUtil.Serialize(url,bw);
}
}

View file

@ -0,0 +1,48 @@
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.Messages
{
[TLObject(-123893531)]
public class TLFeaturedStickers : TLAbsFeaturedStickers
{
public override int Constructor
{
get
{
return -123893531;
}
}
public int hash {get;set;}
public TLVector<TLAbsStickerSetCovered> sets {get;set;}
public TLVector<long> unread {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
hash = br.ReadInt32();
sets = (TLVector<TLAbsStickerSetCovered>)ObjectUtils.DeserializeVector<TLAbsStickerSetCovered>(br);
unread = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(hash);
ObjectUtils.SerializeObject(sets,bw);
ObjectUtils.SerializeObject(unread,bw);
}
}
}

View file

@ -0,0 +1,39 @@
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.Messages
{
[TLObject(82699215)]
public class TLFeaturedStickersNotModified : TLAbsFeaturedStickers
{
public override int Constructor
{
get
{
return 82699215;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
}
}
}

View file

@ -0,0 +1,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.Messages
{
[TLObject(-1707344487)]
public class TLHighScores : TLObject
{
public override int Constructor
{
get
{
return -1707344487;
}
}
public TLVector<TLHighScore> scores {get;set;}
public TLVector<TLAbsUser> users {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
scores = (TLVector<TLHighScore>)ObjectUtils.DeserializeVector<TLHighScore>(br);
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(scores,bw);
ObjectUtils.SerializeObject(users,bw);
}
}
}

View file

@ -0,0 +1,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.Messages
{
[TLObject(1558317424)]
public class TLRecentStickers : TLAbsRecentStickers
{
public override int Constructor
{
get
{
return 1558317424;
}
}
public int hash {get;set;}
public TLVector<TLAbsDocument> stickers {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
hash = br.ReadInt32();
stickers = (TLVector<TLAbsDocument>)ObjectUtils.DeserializeVector<TLAbsDocument>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(hash);
ObjectUtils.SerializeObject(stickers,bw);
}
}
}

View file

@ -0,0 +1,39 @@
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.Messages
{
[TLObject(186120336)]
public class TLRecentStickersNotModified : TLAbsRecentStickers
{
public override int Constructor
{
get
{
return 186120336;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
}
}
}

View file

@ -0,0 +1,54 @@
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.Messages
{
[TLObject(-1986437075)]
public class TLRequestClearRecentStickers : TLMethod
{
public override int Constructor
{
get
{
return -1986437075;
}
}
public int flags {get;set;}
public bool attached {get;set;}
public bool Response{ get; set;}
public void ComputeFlags()
{
flags = 0;
flags = attached ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
flags = br.ReadInt32();
attached = (flags & 1) != 0;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ComputeFlags();
bw.Write(flags);
}
public override void deserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
}
}
}

View file

@ -21,6 +21,7 @@ namespace TeleSharp.TL.Messages
public int flags {get;set;}
public bool silent {get;set;}
public bool background {get;set;}
public bool with_my_score {get;set;}
public TLAbsInputPeer from_peer {get;set;}
public TLVector<int> id {get;set;}
public TLVector<long> random_id {get;set;}
@ -33,6 +34,7 @@ namespace TeleSharp.TL.Messages
flags = 0;
flags = silent ? (flags | 32) : (flags & ~32);
flags = background ? (flags | 64) : (flags & ~64);
flags = with_my_score ? (flags | 256) : (flags & ~256);
}
@ -41,6 +43,7 @@ flags = background ? (flags | 64) : (flags & ~64);
flags = br.ReadInt32();
silent = (flags & 32) != 0;
background = (flags & 64) != 0;
with_my_score = (flags & 256) != 0;
from_peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
id = (TLVector<int>)ObjectUtils.DeserializeVector<int>(br);
random_id = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
@ -55,6 +58,7 @@ to_peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
bw.Write(flags);
ObjectUtils.SerializeObject(from_peer,bw);
ObjectUtils.SerializeObject(id,bw);
ObjectUtils.SerializeObject(random_id,bw);

View file

@ -0,0 +1,60 @@
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.Messages
{
[TLObject(1475442322)]
public class TLRequestGetArchivedStickers : TLMethod
{
public override int Constructor
{
get
{
return 1475442322;
}
}
public int flags {get;set;}
public bool masks {get;set;}
public long offset_id {get;set;}
public int limit {get;set;}
public Messages.TLArchivedStickers Response{ get; set;}
public void ComputeFlags()
{
flags = 0;
flags = masks ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
flags = br.ReadInt32();
masks = (flags & 1) != 0;
offset_id = br.ReadInt64();
limit = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ComputeFlags();
bw.Write(flags);
bw.Write(offset_id);
bw.Write(limit);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Messages.TLArchivedStickers)ObjectUtils.DeserializeObject(br);
}
}
}

View file

@ -7,20 +7,19 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Messages
{
[TLObject(-1373446075)]
public class TLRequestGetStickers : TLMethod
[TLObject(-866424884)]
public class TLRequestGetAttachedStickers : TLMethod
{
public override int Constructor
{
get
{
return -1373446075;
return -866424884;
}
}
public string emoticon {get;set;}
public string hash {get;set;}
public Messages.TLAbsStickers Response{ get; set;}
public TLAbsInputStickeredMedia media {get;set;}
public TLVector<TLAbsStickerSetCovered> Response{ get; set;}
public void ComputeFlags()
@ -30,21 +29,19 @@ namespace TeleSharp.TL.Messages
public override void DeserializeBody(BinaryReader br)
{
emoticon = StringUtil.Deserialize(br);
hash = StringUtil.Deserialize(br);
media = (TLAbsInputStickeredMedia)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(emoticon,bw);
StringUtil.Serialize(hash,bw);
ObjectUtils.SerializeObject(media,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Messages.TLAbsStickers)ObjectUtils.DeserializeObject(br);
Response = (TLVector<TLAbsStickerSetCovered>)ObjectUtils.DeserializeVector<TLAbsStickerSetCovered>(br);
}
}

View file

@ -7,18 +7,20 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Messages
{
[TLObject(-1494659324)]
[TLObject(-2130010132)]
public class TLRequestGetBotCallbackAnswer : TLMethod
{
public override int Constructor
{
get
{
return -1494659324;
return -2130010132;
}
}
public TLAbsInputPeer peer {get;set;}
public int flags {get;set;}
public bool game {get;set;}
public TLAbsInputPeer peer {get;set;}
public int msg_id {get;set;}
public byte[] data {get;set;}
public Messages.TLBotCallbackAnswer Response{ get; set;}
@ -26,22 +28,35 @@ namespace TeleSharp.TL.Messages
public void ComputeFlags()
{
flags = 0;
flags = game ? (flags | 2) : (flags & ~2);
flags = data != null ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
flags = br.ReadInt32();
game = (flags & 2) != 0;
peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
msg_id = br.ReadInt32();
if ((flags & 1) != 0)
data = BytesUtil.Deserialize(br);
else
data = null;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(peer,bw);
ComputeFlags();
bw.Write(flags);
ObjectUtils.SerializeObject(peer,bw);
bw.Write(msg_id);
if ((flags & 1) != 0)
BytesUtil.Serialize(data,bw);
}

View file

@ -0,0 +1,48 @@
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.Messages
{
[TLObject(766298703)]
public class TLRequestGetFeaturedStickers : TLMethod
{
public override int Constructor
{
get
{
return 766298703;
}
}
public int hash {get;set;}
public Messages.TLAbsFeaturedStickers Response{ get; set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
hash = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(hash);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Messages.TLAbsFeaturedStickers)ObjectUtils.DeserializeObject(br);
}
}
}

View file

@ -0,0 +1,54 @@
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.Messages
{
[TLObject(-400399203)]
public class TLRequestGetGameHighScores : TLMethod
{
public override int Constructor
{
get
{
return -400399203;
}
}
public TLAbsInputPeer peer {get;set;}
public int id {get;set;}
public TLAbsInputUser user_id {get;set;}
public Messages.TLHighScores Response{ get; set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
id = br.ReadInt32();
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(peer,bw);
bw.Write(id);
ObjectUtils.SerializeObject(user_id,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Messages.TLHighScores)ObjectUtils.DeserializeObject(br);
}
}
}

View file

@ -0,0 +1,51 @@
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.Messages
{
[TLObject(258170395)]
public class TLRequestGetInlineGameHighScores : TLMethod
{
public override int Constructor
{
get
{
return 258170395;
}
}
public TLInputBotInlineMessageID id {get;set;}
public TLAbsInputUser user_id {get;set;}
public Messages.TLHighScores Response{ get; set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
id = (TLInputBotInlineMessageID)ObjectUtils.DeserializeObject(br);
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id,bw);
ObjectUtils.SerializeObject(user_id,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Messages.TLHighScores)ObjectUtils.DeserializeObject(br);
}
}
}

View file

@ -0,0 +1,48 @@
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.Messages
{
[TLObject(1706608543)]
public class TLRequestGetMaskStickers : TLMethod
{
public override int Constructor
{
get
{
return 1706608543;
}
}
public int hash {get;set;}
public Messages.TLAbsAllStickers Response{ get; set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
hash = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(hash);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Messages.TLAbsAllStickers)ObjectUtils.DeserializeObject(br);
}
}
}

View file

@ -0,0 +1,57 @@
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.Messages
{
[TLObject(1587647177)]
public class TLRequestGetRecentStickers : TLMethod
{
public override int Constructor
{
get
{
return 1587647177;
}
}
public int flags {get;set;}
public bool attached {get;set;}
public int hash {get;set;}
public Messages.TLAbsRecentStickers Response{ get; set;}
public void ComputeFlags()
{
flags = 0;
flags = attached ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
flags = br.ReadInt32();
attached = (flags & 1) != 0;
hash = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ComputeFlags();
bw.Write(flags);
bw.Write(hash);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Messages.TLAbsRecentStickers)ObjectUtils.DeserializeObject(br);
}
}
}

View file

@ -7,20 +7,20 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Messages
{
[TLObject(2066793382)]
[TLObject(-946871200)]
public class TLRequestInstallStickerSet : TLMethod
{
public override int Constructor
{
get
{
return 2066793382;
return -946871200;
}
}
public TLAbsInputStickerSet stickerset {get;set;}
public bool disabled {get;set;}
public bool Response{ get; set;}
public bool archived {get;set;}
public Messages.TLAbsStickerSetInstallResult Response{ get; set;}
public void ComputeFlags()
@ -31,7 +31,7 @@ namespace TeleSharp.TL.Messages
public override void DeserializeBody(BinaryReader br)
{
stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br);
disabled = BoolUtil.Deserialize(br);
archived = BoolUtil.Deserialize(br);
}
@ -39,12 +39,12 @@ disabled = BoolUtil.Deserialize(br);
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(stickerset,bw);
BoolUtil.Serialize(disabled,bw);
BoolUtil.Serialize(archived,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
Response = (Messages.TLAbsStickerSetInstallResult)ObjectUtils.DeserializeObject(br);
}
}

View file

@ -0,0 +1,48 @@
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.Messages
{
[TLObject(1527873830)]
public class TLRequestReadFeaturedStickers : TLMethod
{
public override int Constructor
{
get
{
return 1527873830;
}
}
public TLVector<long> id {get;set;}
public bool Response{ get; set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
id = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
}
}
}

View file

@ -7,36 +7,45 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Messages
{
[TLObject(-1613775824)]
[TLObject(2016638777)]
public class TLRequestReorderStickerSets : TLMethod
{
public override int Constructor
{
get
{
return -1613775824;
return 2016638777;
}
}
public TLVector<long> order {get;set;}
public int flags {get;set;}
public bool masks {get;set;}
public TLVector<long> order {get;set;}
public bool Response{ get; set;}
public void ComputeFlags()
{
flags = 0;
flags = masks ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
order = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
flags = br.ReadInt32();
masks = (flags & 1) != 0;
order = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(order,bw);
ComputeFlags();
bw.Write(flags);
ObjectUtils.SerializeObject(order,bw);
}
public override void deserializeResponse(BinaryReader br)

View file

@ -0,0 +1,60 @@
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.Messages
{
[TLObject(958863608)]
public class TLRequestSaveRecentSticker : TLMethod
{
public override int Constructor
{
get
{
return 958863608;
}
}
public int flags {get;set;}
public bool attached {get;set;}
public TLAbsInputDocument id {get;set;}
public bool unsave {get;set;}
public bool Response{ get; set;}
public void ComputeFlags()
{
flags = 0;
flags = attached ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
flags = br.ReadInt32();
attached = (flags & 1) != 0;
id = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br);
unsave = BoolUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ComputeFlags();
bw.Write(flags);
ObjectUtils.SerializeObject(id,bw);
BoolUtil.Serialize(unsave,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
}
}
}

View file

@ -1,57 +0,0 @@
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.Messages
{
[TLObject(-1082919718)]
public class TLRequestSendBroadcast : TLMethod
{
public override int Constructor
{
get
{
return -1082919718;
}
}
public TLVector<TLAbsInputUser> contacts {get;set;}
public TLVector<long> random_id {get;set;}
public string message {get;set;}
public TLAbsInputMedia media {get;set;}
public TLAbsUpdates Response{ get; set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
contacts = (TLVector<TLAbsInputUser>)ObjectUtils.DeserializeVector<TLAbsInputUser>(br);
random_id = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
message = StringUtil.Deserialize(br);
media = (TLAbsInputMedia)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(contacts,bw);
ObjectUtils.SerializeObject(random_id,bw);
StringUtil.Serialize(message,bw);
ObjectUtils.SerializeObject(media,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
}
}
}

View file

@ -7,14 +7,14 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Messages
{
[TLObject(1209817370)]
[TLObject(-920136629)]
public class TLRequestSetBotCallbackAnswer : TLMethod
{
public override int Constructor
{
get
{
return 1209817370;
return -920136629;
}
}
@ -22,6 +22,7 @@ namespace TeleSharp.TL.Messages
public bool alert {get;set;}
public long query_id {get;set;}
public string message {get;set;}
public string url {get;set;}
public bool Response{ get; set;}
@ -30,6 +31,7 @@ namespace TeleSharp.TL.Messages
flags = 0;
flags = alert ? (flags | 2) : (flags & ~2);
flags = message != null ? (flags | 1) : (flags & ~1);
flags = url != null ? (flags | 4) : (flags & ~4);
}
@ -43,6 +45,11 @@ message = StringUtil.Deserialize(br);
else
message = null;
if ((flags & 4) != 0)
url = StringUtil.Deserialize(br);
else
url = null;
}
@ -55,6 +62,8 @@ bw.Write(flags);
bw.Write(query_id);
if ((flags & 1) != 0)
StringUtil.Serialize(message,bw);
if ((flags & 4) != 0)
StringUtil.Serialize(url,bw);
}
public override void deserializeResponse(BinaryReader br)

View file

@ -0,0 +1,66 @@
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.Messages
{
[TLObject(-1896289088)]
public class TLRequestSetGameScore : TLMethod
{
public override int Constructor
{
get
{
return -1896289088;
}
}
public int flags {get;set;}
public bool edit_message {get;set;}
public TLAbsInputPeer peer {get;set;}
public int id {get;set;}
public TLAbsInputUser user_id {get;set;}
public int score {get;set;}
public TLAbsUpdates Response{ get; set;}
public void ComputeFlags()
{
flags = 0;
flags = edit_message ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
flags = br.ReadInt32();
edit_message = (flags & 1) != 0;
peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
id = br.ReadInt32();
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
score = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ComputeFlags();
bw.Write(flags);
ObjectUtils.SerializeObject(peer,bw);
bw.Write(id);
ObjectUtils.SerializeObject(user_id,bw);
bw.Write(score);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
}
}
}

View file

@ -0,0 +1,63 @@
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.Messages
{
[TLObject(363700068)]
public class TLRequestSetInlineGameScore : TLMethod
{
public override int Constructor
{
get
{
return 363700068;
}
}
public int flags {get;set;}
public bool edit_message {get;set;}
public TLInputBotInlineMessageID id {get;set;}
public TLAbsInputUser user_id {get;set;}
public int score {get;set;}
public bool Response{ get; set;}
public void ComputeFlags()
{
flags = 0;
flags = edit_message ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
flags = br.ReadInt32();
edit_message = (flags & 1) != 0;
id = (TLInputBotInlineMessageID)ObjectUtils.DeserializeObject(br);
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
score = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ComputeFlags();
bw.Write(flags);
ObjectUtils.SerializeObject(id,bw);
ObjectUtils.SerializeObject(user_id,bw);
bw.Write(score);
}
public override void deserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
}
}
}

View file

@ -0,0 +1,42 @@
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.Messages
{
[TLObject(904138920)]
public class TLStickerSetInstallResultArchive : TLAbsStickerSetInstallResult
{
public override int Constructor
{
get
{
return 904138920;
}
}
public TLVector<TLAbsStickerSetCovered> sets {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
sets = (TLVector<TLAbsStickerSetCovered>)ObjectUtils.DeserializeVector<TLAbsStickerSetCovered>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(sets,bw);
}
}
}

View file

@ -0,0 +1,39 @@
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.Messages
{
[TLObject(946083368)]
public class TLStickerSetInstallResultSuccess : TLAbsStickerSetInstallResult
{
public override int Constructor
{
get
{
return 946083368;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
}
}
}

View file

@ -7,19 +7,18 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(-285902432)]
[TLObject(-256159406)]
public class TLRequestUpdateProfilePhoto : TLMethod
{
public override int Constructor
{
get
{
return -285902432;
return -256159406;
}
}
public TLAbsInputPhoto id {get;set;}
public TLAbsInputPhotoCrop crop {get;set;}
public TLAbsUserProfilePhoto Response{ get; set;}
@ -31,7 +30,6 @@ namespace TeleSharp.TL.Photos
public override void DeserializeBody(BinaryReader br)
{
id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
}
@ -39,7 +37,6 @@ crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id,bw);
ObjectUtils.SerializeObject(crop,bw);
}
public override void deserializeResponse(BinaryReader br)

View file

@ -7,21 +7,18 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(-720397176)]
[TLObject(1328726168)]
public class TLRequestUploadProfilePhoto : TLMethod
{
public override int Constructor
{
get
{
return -720397176;
return 1328726168;
}
}
public TLAbsInputFile file {get;set;}
public string caption {get;set;}
public TLAbsInputGeoPoint geo_point {get;set;}
public TLAbsInputPhotoCrop crop {get;set;}
public Photos.TLPhoto Response{ get; set;}
@ -33,9 +30,6 @@ namespace TeleSharp.TL.Photos
public override void DeserializeBody(BinaryReader br)
{
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
caption = StringUtil.Deserialize(br);
geo_point = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br);
crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
}
@ -43,9 +37,6 @@ crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(file,bw);
StringUtil.Serialize(caption,bw);
ObjectUtils.SerializeObject(geo_point,bw);
ObjectUtils.SerializeObject(crop,bw);
}
public override void deserializeResponse(BinaryReader br)

View file

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
public abstract class TLAbsInputPhotoCrop : TLObject
public abstract class TLAbsInputGame : TLObject
{
}
}

View file

@ -0,0 +1,13 @@
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
{
public abstract class TLAbsInputStickeredMedia : TLObject
{
}
}

View file

@ -0,0 +1,13 @@
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
{
public abstract class TLAbsStickerSetCovered : TLObject
{
}
}

View file

@ -7,14 +7,14 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-1813406880)]
[TLObject(-613092008)]
public class TLChatInvite : TLAbsChatInvite
{
public override int Constructor
{
get
{
return -1813406880;
return -613092008;
}
}
@ -24,6 +24,9 @@ namespace TeleSharp.TL
public bool @public {get;set;}
public bool megagroup {get;set;}
public string title {get;set;}
public TLAbsChatPhoto photo {get;set;}
public int participants_count {get;set;}
public TLVector<TLAbsUser> participants {get;set;}
public void ComputeFlags()
@ -33,6 +36,7 @@ flags = channel ? (flags | 1) : (flags & ~1);
flags = broadcast ? (flags | 2) : (flags & ~2);
flags = @public ? (flags | 4) : (flags & ~4);
flags = megagroup ? (flags | 8) : (flags & ~8);
flags = participants != null ? (flags | 16) : (flags & ~16);
}
@ -44,6 +48,13 @@ broadcast = (flags & 2) != 0;
@public = (flags & 4) != 0;
megagroup = (flags & 8) != 0;
title = StringUtil.Deserialize(br);
photo = (TLAbsChatPhoto)ObjectUtils.DeserializeObject(br);
participants_count = br.ReadInt32();
if ((flags & 16) != 0)
participants = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
else
participants = null;
}
@ -57,6 +68,10 @@ bw.Write(flags);
StringUtil.Serialize(title,bw);
ObjectUtils.SerializeObject(photo,bw);
bw.Write(participants_count);
if ((flags & 16) != 0)
ObjectUtils.SerializeObject(participants,bw);
}
}

View file

@ -7,18 +7,19 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-918482040)]
[TLObject(-1704251862)]
public class TLConfig : TLObject
{
public override int Constructor
{
get
{
return -918482040;
return -1704251862;
}
}
public int date {get;set;}
public int flags {get;set;}
public int date {get;set;}
public int expires {get;set;}
public bool test_mode {get;set;}
public int this_dc {get;set;}
@ -38,17 +39,22 @@ namespace TeleSharp.TL
public int saved_gifs_limit {get;set;}
public int edit_time_limit {get;set;}
public int rating_e_decay {get;set;}
public int stickers_recent_limit {get;set;}
public int? tmp_sessions {get;set;}
public TLVector<TLDisabledFeature> disabled_features {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = tmp_sessions != null ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
date = br.ReadInt32();
flags = br.ReadInt32();
date = br.ReadInt32();
expires = br.ReadInt32();
test_mode = BoolUtil.Deserialize(br);
this_dc = br.ReadInt32();
@ -68,6 +74,12 @@ push_chat_limit = br.ReadInt32();
saved_gifs_limit = br.ReadInt32();
edit_time_limit = br.ReadInt32();
rating_e_decay = br.ReadInt32();
stickers_recent_limit = br.ReadInt32();
if ((flags & 1) != 0)
tmp_sessions = br.ReadInt32();
else
tmp_sessions = null;
disabled_features = (TLVector<TLDisabledFeature>)ObjectUtils.DeserializeVector<TLDisabledFeature>(br);
}
@ -75,7 +87,9 @@ disabled_features = (TLVector<TLDisabledFeature>)ObjectUtils.DeserializeVector<T
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(date);
ComputeFlags();
bw.Write(flags);
bw.Write(date);
bw.Write(expires);
BoolUtil.Serialize(test_mode,bw);
bw.Write(this_dc);
@ -95,6 +109,9 @@ bw.Write(push_chat_limit);
bw.Write(saved_gifs_limit);
bw.Write(edit_time_limit);
bw.Write(rating_e_decay);
bw.Write(stickers_recent_limit);
if ((flags & 1) != 0)
bw.Write(tmp_sessions.Value);
ObjectUtils.SerializeObject(disabled_features,bw);
}

View file

@ -7,14 +7,14 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-106717361)]
[TLObject(-2027738169)]
public class TLDocument : TLAbsDocument
{
public override int Constructor
{
get
{
return -106717361;
return -2027738169;
}
}
@ -25,6 +25,7 @@ namespace TeleSharp.TL
public int size {get;set;}
public TLAbsPhotoSize thumb {get;set;}
public int dc_id {get;set;}
public int version {get;set;}
public TLVector<TLAbsDocumentAttribute> attributes {get;set;}
@ -42,6 +43,7 @@ mime_type = StringUtil.Deserialize(br);
size = br.ReadInt32();
thumb = (TLAbsPhotoSize)ObjectUtils.DeserializeObject(br);
dc_id = br.ReadInt32();
version = br.ReadInt32();
attributes = (TLVector<TLAbsDocumentAttribute>)ObjectUtils.DeserializeVector<TLAbsDocumentAttribute>(br);
}
@ -56,6 +58,7 @@ StringUtil.Serialize(mime_type,bw);
bw.Write(size);
ObjectUtils.SerializeObject(thumb,bw);
bw.Write(dc_id);
bw.Write(version);
ObjectUtils.SerializeObject(attributes,bw);
}

View file

@ -0,0 +1,39 @@
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(-1744710921)]
public class TLDocumentAttributeHasStickers : TLAbsDocumentAttribute
{
public override int Constructor
{
get
{
return -1744710921;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
}
}
}

View file

@ -7,38 +7,56 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(978674434)]
[TLObject(1662637586)]
public class TLDocumentAttributeSticker : TLAbsDocumentAttribute
{
public override int Constructor
{
get
{
return 978674434;
return 1662637586;
}
}
public string alt {get;set;}
public int flags {get;set;}
public bool mask {get;set;}
public string alt {get;set;}
public TLAbsInputStickerSet stickerset {get;set;}
public TLMaskCoords mask_coords {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = mask ? (flags | 2) : (flags & ~2);
flags = mask_coords != null ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
alt = StringUtil.Deserialize(br);
flags = br.ReadInt32();
mask = (flags & 2) != 0;
alt = StringUtil.Deserialize(br);
stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br);
if ((flags & 1) != 0)
mask_coords = (TLMaskCoords)ObjectUtils.DeserializeObject(br);
else
mask_coords = null;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(alt,bw);
ComputeFlags();
bw.Write(flags);
StringUtil.Serialize(alt,bw);
ObjectUtils.SerializeObject(stickerset,bw);
if ((flags & 1) != 0)
ObjectUtils.SerializeObject(mask_coords,bw);
}
}

71
TeleSharp.TL/TL/TLGame.cs Normal file
View file

@ -0,0 +1,71 @@
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(-1107729093)]
public class TLGame : TLObject
{
public override int Constructor
{
get
{
return -1107729093;
}
}
public int flags {get;set;}
public long id {get;set;}
public long access_hash {get;set;}
public string short_name {get;set;}
public string title {get;set;}
public string description {get;set;}
public TLAbsPhoto photo {get;set;}
public TLAbsDocument document {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = document != null ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
flags = br.ReadInt32();
id = br.ReadInt64();
access_hash = br.ReadInt64();
short_name = StringUtil.Deserialize(br);
title = StringUtil.Deserialize(br);
description = StringUtil.Deserialize(br);
photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br);
if ((flags & 1) != 0)
document = (TLAbsDocument)ObjectUtils.DeserializeObject(br);
else
document = null;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ComputeFlags();
bw.Write(flags);
bw.Write(id);
bw.Write(access_hash);
StringUtil.Serialize(short_name,bw);
StringUtil.Serialize(title,bw);
StringUtil.Serialize(description,bw);
ObjectUtils.SerializeObject(photo,bw);
if ((flags & 1) != 0)
ObjectUtils.SerializeObject(document,bw);
}
}
}

View file

@ -7,20 +7,20 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-644787419)]
public class TLInputPhotoCrop : TLAbsInputPhotoCrop
[TLObject(1493171408)]
public class TLHighScore : TLObject
{
public override int Constructor
{
get
{
return -644787419;
return 1493171408;
}
}
public double crop_left {get;set;}
public double crop_top {get;set;}
public double crop_width {get;set;}
public int pos {get;set;}
public int user_id {get;set;}
public int score {get;set;}
public void ComputeFlags()
@ -30,18 +30,18 @@ namespace TeleSharp.TL
public override void DeserializeBody(BinaryReader br)
{
crop_left = br.ReadDouble();
crop_top = br.ReadDouble();
crop_width = br.ReadDouble();
pos = br.ReadInt32();
user_id = br.ReadInt32();
score = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(crop_left);
bw.Write(crop_top);
bw.Write(crop_width);
bw.Write(pos);
bw.Write(user_id);
bw.Write(score);
}
}

View file

@ -0,0 +1,53 @@
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(1262639204)]
public class TLInputBotInlineMessageGame : TLAbsInputBotInlineMessage
{
public override int Constructor
{
get
{
return 1262639204;
}
}
public int flags {get;set;}
public TLAbsReplyMarkup reply_markup {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = reply_markup != null ? (flags | 4) : (flags & ~4);
}
public override void DeserializeBody(BinaryReader br)
{
flags = br.ReadInt32();
if ((flags & 4) != 0)
reply_markup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br);
else
reply_markup = null;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ComputeFlags();
bw.Write(flags);
if ((flags & 4) != 0)
ObjectUtils.SerializeObject(reply_markup,bw);
}
}
}

View file

@ -0,0 +1,48 @@
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(1336154098)]
public class TLInputBotInlineResultGame : TLAbsInputBotInlineResult
{
public override int Constructor
{
get
{
return 1336154098;
}
}
public string id {get;set;}
public string short_name {get;set;}
public TLAbsInputBotInlineMessage send_message {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
id = StringUtil.Deserialize(br);
short_name = StringUtil.Deserialize(br);
send_message = (TLAbsInputBotInlineMessage)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(id,bw);
StringUtil.Serialize(short_name,bw);
ObjectUtils.SerializeObject(send_message,bw);
}
}
}

View file

@ -7,19 +7,18 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-1293828344)]
[TLObject(-1991004873)]
public class TLInputChatPhoto : TLAbsInputChatPhoto
{
public override int Constructor
{
get
{
return -1293828344;
return -1991004873;
}
}
public TLAbsInputPhoto id {get;set;}
public TLAbsInputPhotoCrop crop {get;set;}
public void ComputeFlags()
@ -30,7 +29,6 @@ namespace TeleSharp.TL
public override void DeserializeBody(BinaryReader br)
{
id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
}
@ -38,7 +36,6 @@ crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id,bw);
ObjectUtils.SerializeObject(crop,bw);
}
}

View file

@ -7,19 +7,18 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-1809496270)]
[TLObject(-1837345356)]
public class TLInputChatUploadedPhoto : TLAbsInputChatPhoto
{
public override int Constructor
{
get
{
return -1809496270;
return -1837345356;
}
}
public TLAbsInputFile file {get;set;}
public TLAbsInputPhotoCrop crop {get;set;}
public void ComputeFlags()
@ -30,7 +29,6 @@ namespace TeleSharp.TL
public override void DeserializeBody(BinaryReader br)
{
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
}
@ -38,7 +36,6 @@ crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(file,bw);
ObjectUtils.SerializeObject(crop,bw);
}
}

View file

@ -7,19 +7,20 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(1313188841)]
[TLObject(1125058340)]
public class TLInputDocumentFileLocation : TLAbsInputFileLocation
{
public override int Constructor
{
get
{
return 1313188841;
return 1125058340;
}
}
public long id {get;set;}
public long access_hash {get;set;}
public int version {get;set;}
public void ComputeFlags()
@ -31,6 +32,7 @@ namespace TeleSharp.TL
{
id = br.ReadInt64();
access_hash = br.ReadInt64();
version = br.ReadInt32();
}
@ -39,6 +41,7 @@ access_hash = br.ReadInt64();
bw.Write(Constructor);
bw.Write(id);
bw.Write(access_hash);
bw.Write(version);
}
}

View file

@ -0,0 +1,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(53231223)]
public class TLInputGameID : TLAbsInputGame
{
public override int Constructor
{
get
{
return 53231223;
}
}
public long id {get;set;}
public long access_hash {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
id = br.ReadInt64();
access_hash = br.ReadInt64();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(id);
bw.Write(access_hash);
}
}
}

View file

@ -0,0 +1,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(-1020139510)]
public class TLInputGameShortName : TLAbsInputGame
{
public override int Constructor
{
get
{
return -1020139510;
}
}
public TLAbsInputUser bot_id {get;set;}
public string short_name {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
bot_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
short_name = StringUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(bot_id,bw);
StringUtil.Serialize(short_name,bw);
}
}
}

View file

@ -0,0 +1,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(-437690244)]
public class TLInputMediaDocumentExternal : TLAbsInputMedia
{
public override int Constructor
{
get
{
return -437690244;
}
}
public string url {get;set;}
public string caption {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
url = StringUtil.Deserialize(br);
caption = StringUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(url,bw);
StringUtil.Serialize(caption,bw);
}
}
}

View file

@ -0,0 +1,42 @@
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(-750828557)]
public class TLInputMediaGame : TLAbsInputMedia
{
public override int Constructor
{
get
{
return -750828557;
}
}
public TLAbsInputGame id {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
id = (TLAbsInputGame)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id,bw);
}
}
}

View file

@ -0,0 +1,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(-1252045032)]
public class TLInputMediaPhotoExternal : TLAbsInputMedia
{
public override int Constructor
{
get
{
return -1252045032;
}
}
public string url {get;set;}
public string caption {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
url = StringUtil.Deserialize(br);
caption = StringUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(url,bw);
StringUtil.Serialize(caption,bw);
}
}
}

View file

@ -7,44 +7,58 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(495530093)]
[TLObject(-797904407)]
public class TLInputMediaUploadedDocument : TLAbsInputMedia
{
public override int Constructor
{
get
{
return 495530093;
return -797904407;
}
}
public TLAbsInputFile file {get;set;}
public int flags {get;set;}
public TLAbsInputFile file {get;set;}
public string mime_type {get;set;}
public TLVector<TLAbsDocumentAttribute> attributes {get;set;}
public string caption {get;set;}
public TLVector<TLAbsInputDocument> stickers {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = stickers != null ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
flags = br.ReadInt32();
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
mime_type = StringUtil.Deserialize(br);
attributes = (TLVector<TLAbsDocumentAttribute>)ObjectUtils.DeserializeVector<TLAbsDocumentAttribute>(br);
caption = StringUtil.Deserialize(br);
if ((flags & 1) != 0)
stickers = (TLVector<TLAbsInputDocument>)ObjectUtils.DeserializeVector<TLAbsInputDocument>(br);
else
stickers = null;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(file,bw);
ComputeFlags();
bw.Write(flags);
ObjectUtils.SerializeObject(file,bw);
StringUtil.Serialize(mime_type,bw);
ObjectUtils.SerializeObject(attributes,bw);
StringUtil.Serialize(caption,bw);
if ((flags & 1) != 0)
ObjectUtils.SerializeObject(stickers,bw);
}
}

View file

@ -7,38 +7,52 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-139464256)]
[TLObject(1661770481)]
public class TLInputMediaUploadedPhoto : TLAbsInputMedia
{
public override int Constructor
{
get
{
return -139464256;
return 1661770481;
}
}
public TLAbsInputFile file {get;set;}
public int flags {get;set;}
public TLAbsInputFile file {get;set;}
public string caption {get;set;}
public TLVector<TLAbsInputDocument> stickers {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = stickers != null ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
flags = br.ReadInt32();
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
caption = StringUtil.Deserialize(br);
if ((flags & 1) != 0)
stickers = (TLVector<TLAbsInputDocument>)ObjectUtils.DeserializeVector<TLAbsInputDocument>(br);
else
stickers = null;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(file,bw);
ComputeFlags();
bw.Write(flags);
ObjectUtils.SerializeObject(file,bw);
StringUtil.Serialize(caption,bw);
if ((flags & 1) != 0)
ObjectUtils.SerializeObject(stickers,bw);
}
}

View file

@ -7,47 +7,61 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-1386138479)]
[TLObject(1356369070)]
public class TLInputMediaUploadedThumbDocument : TLAbsInputMedia
{
public override int Constructor
{
get
{
return -1386138479;
return 1356369070;
}
}
public TLAbsInputFile file {get;set;}
public int flags {get;set;}
public TLAbsInputFile file {get;set;}
public TLAbsInputFile thumb {get;set;}
public string mime_type {get;set;}
public TLVector<TLAbsDocumentAttribute> attributes {get;set;}
public string caption {get;set;}
public TLVector<TLAbsInputDocument> stickers {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = stickers != null ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
flags = br.ReadInt32();
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
thumb = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
mime_type = StringUtil.Deserialize(br);
attributes = (TLVector<TLAbsDocumentAttribute>)ObjectUtils.DeserializeVector<TLAbsDocumentAttribute>(br);
caption = StringUtil.Deserialize(br);
if ((flags & 1) != 0)
stickers = (TLVector<TLAbsInputDocument>)ObjectUtils.DeserializeVector<TLAbsInputDocument>(br);
else
stickers = null;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(file,bw);
ComputeFlags();
bw.Write(flags);
ObjectUtils.SerializeObject(file,bw);
ObjectUtils.SerializeObject(thumb,bw);
StringUtil.Serialize(mime_type,bw);
ObjectUtils.SerializeObject(attributes,bw);
StringUtil.Serialize(caption,bw);
if ((flags & 1) != 0)
ObjectUtils.SerializeObject(stickers,bw);
}
}

View file

@ -0,0 +1,42 @@
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(70813275)]
public class TLInputStickeredMediaDocument : TLAbsInputStickeredMedia
{
public override int Constructor
{
get
{
return 70813275;
}
}
public TLAbsInputDocument id {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
id = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id,bw);
}
}
}

View file

@ -0,0 +1,42 @@
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(1251549527)]
public class TLInputStickeredMediaPhoto : TLAbsInputStickeredMedia
{
public override int Constructor
{
get
{
return 1251549527;
}
}
public TLAbsInputPhoto id {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id,bw);
}
}
}

View file

@ -0,0 +1,42 @@
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(1358175439)]
public class TLKeyboardButtonGame : TLAbsKeyboardButton
{
public override int Constructor
{
get
{
return 1358175439;
}
}
public string text {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
text = StringUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(text,bw);
}
}
}

View file

@ -7,29 +7,35 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-367298028)]
[TLObject(90744648)]
public class TLKeyboardButtonSwitchInline : TLAbsKeyboardButton
{
public override int Constructor
{
get
{
return -367298028;
return 90744648;
}
}
public string text {get;set;}
public int flags {get;set;}
public bool same_peer {get;set;}
public string text {get;set;}
public string query {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = same_peer ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
text = StringUtil.Deserialize(br);
flags = br.ReadInt32();
same_peer = (flags & 1) != 0;
text = StringUtil.Deserialize(br);
query = StringUtil.Deserialize(br);
}
@ -37,7 +43,10 @@ query = StringUtil.Deserialize(br);
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(text,bw);
ComputeFlags();
bw.Write(flags);
StringUtil.Serialize(text,bw);
StringUtil.Serialize(query,bw);
}

View file

@ -0,0 +1,51 @@
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(-1361650766)]
public class TLMaskCoords : TLObject
{
public override int Constructor
{
get
{
return -1361650766;
}
}
public int n {get;set;}
public double x {get;set;}
public double y {get;set;}
public double zoom {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
n = br.ReadInt32();
x = br.ReadDouble();
y = br.ReadDouble();
zoom = br.ReadDouble();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(n);
bw.Write(x);
bw.Write(y);
bw.Write(zoom);
}
}
}

View file

@ -0,0 +1,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(-1834538890)]
public class TLMessageActionGameScore : TLAbsMessageAction
{
public override int Constructor
{
get
{
return -1834538890;
}
}
public long game_id {get;set;}
public int score {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
game_id = br.ReadInt64();
score = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(game_id);
bw.Write(score);
}
}
}

View file

@ -0,0 +1,42 @@
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(-38694904)]
public class TLMessageMediaGame : TLAbsMessageMedia
{
public override int Constructor
{
get
{
return -38694904;
}
}
public TLGame game {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
game = (TLGame)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(game,bw);
}
}
}

View file

@ -7,18 +7,20 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-840088834)]
[TLObject(-1836524247)]
public class TLPhoto : TLAbsPhoto
{
public override int Constructor
{
get
{
return -840088834;
return -1836524247;
}
}
public long id {get;set;}
public int flags {get;set;}
public bool has_stickers {get;set;}
public long id {get;set;}
public long access_hash {get;set;}
public int date {get;set;}
public TLVector<TLAbsPhotoSize> sizes {get;set;}
@ -26,12 +28,16 @@ namespace TeleSharp.TL
public void ComputeFlags()
{
flags = 0;
flags = has_stickers ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
id = br.ReadInt64();
flags = br.ReadInt32();
has_stickers = (flags & 1) != 0;
id = br.ReadInt64();
access_hash = br.ReadInt64();
date = br.ReadInt32();
sizes = (TLVector<TLAbsPhotoSize>)ObjectUtils.DeserializeVector<TLAbsPhotoSize>(br);
@ -41,7 +47,10 @@ sizes = (TLVector<TLAbsPhotoSize>)ObjectUtils.DeserializeVector<TLAbsPhotoSize>(
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(id);
ComputeFlags();
bw.Write(flags);
bw.Write(id);
bw.Write(access_hash);
bw.Write(date);
ObjectUtils.SerializeObject(sizes,bw);

View file

@ -0,0 +1,39 @@
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(-580219064)]
public class TLSendMessageGamePlayAction : TLAbsSendMessageAction
{
public override int Constructor
{
get
{
return -580219064;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
}
}
}

View file

@ -20,8 +20,9 @@ namespace TeleSharp.TL
public int flags {get;set;}
public bool installed {get;set;}
public bool disabled {get;set;}
public bool archived {get;set;}
public bool official {get;set;}
public bool masks {get;set;}
public long id {get;set;}
public long access_hash {get;set;}
public string title {get;set;}
@ -34,8 +35,9 @@ namespace TeleSharp.TL
{
flags = 0;
flags = installed ? (flags | 1) : (flags & ~1);
flags = disabled ? (flags | 2) : (flags & ~2);
flags = archived ? (flags | 2) : (flags & ~2);
flags = official ? (flags | 4) : (flags & ~4);
flags = masks ? (flags | 8) : (flags & ~8);
}
@ -43,8 +45,9 @@ flags = official ? (flags | 4) : (flags & ~4);
{
flags = br.ReadInt32();
installed = (flags & 1) != 0;
disabled = (flags & 2) != 0;
archived = (flags & 2) != 0;
official = (flags & 4) != 0;
masks = (flags & 8) != 0;
id = br.ReadInt64();
access_hash = br.ReadInt64();
title = StringUtil.Deserialize(br);
@ -62,6 +65,7 @@ bw.Write(flags);
bw.Write(id);
bw.Write(access_hash);
StringUtil.Serialize(title,bw);

View file

@ -0,0 +1,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(1678812626)]
public class TLStickerSetCovered : TLAbsStickerSetCovered
{
public override int Constructor
{
get
{
return 1678812626;
}
}
public TLStickerSet @set {get;set;}
public TLAbsDocument cover {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
@set = (TLStickerSet)ObjectUtils.DeserializeObject(br);
cover = (TLAbsDocument)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(@set,bw);
ObjectUtils.SerializeObject(cover,bw);
}
}
}

View file

@ -0,0 +1,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(872932635)]
public class TLStickerSetMultiCovered : TLAbsStickerSetCovered
{
public override int Constructor
{
get
{
return 872932635;
}
}
public TLStickerSet @set {get;set;}
public TLVector<TLAbsDocument> covers {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
@set = (TLStickerSet)ObjectUtils.DeserializeObject(br);
covers = (TLVector<TLAbsDocument>)ObjectUtils.DeserializeVector<TLAbsDocument>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(@set,bw);
ObjectUtils.SerializeObject(covers,bw);
}
}
}

View file

@ -7,47 +7,70 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-1500747636)]
[TLObject(-415938591)]
public class TLUpdateBotCallbackQuery : TLAbsUpdate
{
public override int Constructor
{
get
{
return -1500747636;
return -415938591;
}
}
public long query_id {get;set;}
public int flags {get;set;}
public long query_id {get;set;}
public int user_id {get;set;}
public TLAbsPeer peer {get;set;}
public int msg_id {get;set;}
public long chat_instance {get;set;}
public byte[] data {get;set;}
public string game_short_name {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = data != null ? (flags | 1) : (flags & ~1);
flags = game_short_name != null ? (flags | 2) : (flags & ~2);
}
public override void DeserializeBody(BinaryReader br)
{
query_id = br.ReadInt64();
flags = br.ReadInt32();
query_id = br.ReadInt64();
user_id = br.ReadInt32();
peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br);
msg_id = br.ReadInt32();
chat_instance = br.ReadInt64();
if ((flags & 1) != 0)
data = BytesUtil.Deserialize(br);
else
data = null;
if ((flags & 2) != 0)
game_short_name = StringUtil.Deserialize(br);
else
game_short_name = null;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(query_id);
ComputeFlags();
bw.Write(flags);
bw.Write(query_id);
bw.Write(user_id);
ObjectUtils.SerializeObject(peer,bw);
bw.Write(msg_id);
bw.Write(chat_instance);
if ((flags & 1) != 0)
BytesUtil.Serialize(data,bw);
if ((flags & 2) != 0)
StringUtil.Serialize(game_short_name,bw);
}
}

View file

@ -7,14 +7,14 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-1377390588)]
public class TLInputPhotoCropAuto : TLAbsInputPhotoCrop
[TLObject(-1574314746)]
public class TLUpdateConfig : TLAbsUpdate
{
public override int Constructor
{
get
{
return -1377390588;
return -1574314746;
}
}

View file

@ -7,44 +7,67 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(750622127)]
[TLObject(-103646630)]
public class TLUpdateInlineBotCallbackQuery : TLAbsUpdate
{
public override int Constructor
{
get
{
return 750622127;
return -103646630;
}
}
public long query_id {get;set;}
public int flags {get;set;}
public long query_id {get;set;}
public int user_id {get;set;}
public TLInputBotInlineMessageID msg_id {get;set;}
public long chat_instance {get;set;}
public byte[] data {get;set;}
public string game_short_name {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = data != null ? (flags | 1) : (flags & ~1);
flags = game_short_name != null ? (flags | 2) : (flags & ~2);
}
public override void DeserializeBody(BinaryReader br)
{
query_id = br.ReadInt64();
flags = br.ReadInt32();
query_id = br.ReadInt64();
user_id = br.ReadInt32();
msg_id = (TLInputBotInlineMessageID)ObjectUtils.DeserializeObject(br);
chat_instance = br.ReadInt64();
if ((flags & 1) != 0)
data = BytesUtil.Deserialize(br);
else
data = null;
if ((flags & 2) != 0)
game_short_name = StringUtil.Deserialize(br);
else
game_short_name = null;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(query_id);
ComputeFlags();
bw.Write(flags);
bw.Write(query_id);
bw.Write(user_id);
ObjectUtils.SerializeObject(msg_id,bw);
bw.Write(chat_instance);
if ((flags & 1) != 0)
BytesUtil.Serialize(data,bw);
if ((flags & 2) != 0)
StringUtil.Serialize(game_short_name,bw);
}
}

View file

@ -0,0 +1,39 @@
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(861169551)]
public class TLUpdatePtsChanged : TLAbsUpdate
{
public override int Constructor
{
get
{
return 861169551;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
}
}
}

View file

@ -0,0 +1,39 @@
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(1461528386)]
public class TLUpdateReadFeaturedStickers : TLAbsUpdate
{
public override int Constructor
{
get
{
return 1461528386;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
}
}
}

View file

@ -0,0 +1,39 @@
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(-1706939360)]
public class TLUpdateRecentStickers : TLAbsUpdate
{
public override int Constructor
{
get
{
return -1706939360;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
}
}
}

View file

@ -7,35 +7,44 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-253774767)]
[TLObject(196268545)]
public class TLUpdateStickerSetsOrder : TLAbsUpdate
{
public override int Constructor
{
get
{
return -253774767;
return 196268545;
}
}
public TLVector<long> order {get;set;}
public int flags {get;set;}
public bool masks {get;set;}
public TLVector<long> order {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = masks ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
order = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
flags = br.ReadInt32();
masks = (flags & 1) != 0;
order = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(order,bw);
ComputeFlags();
bw.Write(flags);
ObjectUtils.SerializeObject(order,bw);
}
}

View file

@ -0,0 +1,39 @@
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(481674261)]
public class TLVector : TLObject
{
public override int Constructor
{
get
{
return 481674261;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
}
}
}

View file

@ -60,6 +60,7 @@
<Compile Include="TL\Account\TLPrivacyRules.cs" />
<Compile Include="TL\Account\TLRequestChangePhone.cs" />
<Compile Include="TL\Account\TLRequestCheckUsername.cs" />
<Compile Include="TL\Account\TLRequestConfirmPhone.cs" />
<Compile Include="TL\Account\TLRequestDeleteAccount.cs" />
<Compile Include="TL\Account\TLRequestGetAccountTTL.cs" />
<Compile Include="TL\Account\TLRequestGetAuthorizations.cs" />
@ -73,6 +74,7 @@
<Compile Include="TL\Account\TLRequestResetAuthorization.cs" />
<Compile Include="TL\Account\TLRequestResetNotifySettings.cs" />
<Compile Include="TL\Account\TLRequestSendChangePhoneCode.cs" />
<Compile Include="TL\Account\TLRequestSendConfirmPhoneCode.cs" />
<Compile Include="TL\Account\TLRequestSetAccountTTL.cs" />
<Compile Include="TL\Account\TLRequestSetPrivacy.cs" />
<Compile Include="TL\Account\TLRequestUnregisterDevice.cs" />
@ -95,6 +97,7 @@
<Compile Include="TL\Auth\TLRequestCancelCode.cs" />
<Compile Include="TL\Auth\TLRequestCheckPassword.cs" />
<Compile Include="TL\Auth\TLRequestCheckPhone.cs" />
<Compile Include="TL\Auth\TLRequestDropTempAuthKeys.cs" />
<Compile Include="TL\Auth\TLRequestExportAuthorization.cs" />
<Compile Include="TL\Auth\TLRequestImportAuthorization.cs" />
<Compile Include="TL\Auth\TLRequestImportBotAuthorization.cs" />
@ -125,6 +128,7 @@
<Compile Include="TL\Channels\TLRequestEditTitle.cs" />
<Compile Include="TL\Channels\TLRequestExportInvite.cs" />
<Compile Include="TL\Channels\TLRequestExportMessageLink.cs" />
<Compile Include="TL\Channels\TLRequestGetAdminedPublicChannels.cs" />
<Compile Include="TL\Channels\TLRequestGetChannels.cs" />
<Compile Include="TL\Channels\TLRequestGetFullChannel.cs" />
<Compile Include="TL\Channels\TLRequestGetMessages.cs" />
@ -187,14 +191,18 @@
<Compile Include="TL\Messages\TLAbsAllStickers.cs" />
<Compile Include="TL\Messages\TLAbsDhConfig.cs" />
<Compile Include="TL\Messages\TLAbsDialogs.cs" />
<Compile Include="TL\Messages\TLAbsFeaturedStickers.cs" />
<Compile Include="TL\Messages\TLAbsMessages.cs" />
<Compile Include="TL\Messages\TLAbsRecentStickers.cs" />
<Compile Include="TL\Messages\TLAbsSavedGifs.cs" />
<Compile Include="TL\Messages\TLAbsSentEncryptedMessage.cs" />
<Compile Include="TL\Messages\TLAbsStickers.cs" />
<Compile Include="TL\Messages\TLAbsStickerSetInstallResult.cs" />
<Compile Include="TL\Messages\TLAffectedHistory.cs" />
<Compile Include="TL\Messages\TLAffectedMessages.cs" />
<Compile Include="TL\Messages\TLAllStickers.cs" />
<Compile Include="TL\Messages\TLAllStickersNotModified.cs" />
<Compile Include="TL\Messages\TLArchivedStickers.cs" />
<Compile Include="TL\Messages\TLBotCallbackAnswer.cs" />
<Compile Include="TL\Messages\TLBotResults.cs" />
<Compile Include="TL\Messages\TLChannelMessages.cs" />
@ -204,14 +212,20 @@
<Compile Include="TL\Messages\TLDhConfigNotModified.cs" />
<Compile Include="TL\Messages\TLDialogs.cs" />
<Compile Include="TL\Messages\TLDialogsSlice.cs" />
<Compile Include="TL\Messages\TLFeaturedStickers.cs" />
<Compile Include="TL\Messages\TLFeaturedStickersNotModified.cs" />
<Compile Include="TL\Messages\TLFoundGifs.cs" />
<Compile Include="TL\Messages\TLHighScores.cs" />
<Compile Include="TL\Messages\TLMessageEditData.cs" />
<Compile Include="TL\Messages\TLMessages.cs" />
<Compile Include="TL\Messages\TLMessagesSlice.cs" />
<Compile Include="TL\Messages\TLPeerDialogs.cs" />
<Compile Include="TL\Messages\TLRecentStickers.cs" />
<Compile Include="TL\Messages\TLRecentStickersNotModified.cs" />
<Compile Include="TL\Messages\TLRequestAcceptEncryption.cs" />
<Compile Include="TL\Messages\TLRequestAddChatUser.cs" />
<Compile Include="TL\Messages\TLRequestCheckChatInvite.cs" />
<Compile Include="TL\Messages\TLRequestClearRecentStickers.cs" />
<Compile Include="TL\Messages\TLRequestCreateChat.cs" />
<Compile Include="TL\Messages\TLRequestDeleteChatUser.cs" />
<Compile Include="TL\Messages\TLRequestDeleteHistory.cs" />
@ -227,21 +241,27 @@
<Compile Include="TL\Messages\TLRequestForwardMessages.cs" />
<Compile Include="TL\Messages\TLRequestGetAllDrafts.cs" />
<Compile Include="TL\Messages\TLRequestGetAllStickers.cs" />
<Compile Include="TL\Messages\TLRequestGetArchivedStickers.cs" />
<Compile Include="TL\Messages\TLRequestGetAttachedStickers.cs" />
<Compile Include="TL\Messages\TLRequestGetBotCallbackAnswer.cs" />
<Compile Include="TL\Messages\TLRequestGetChats.cs" />
<Compile Include="TL\Messages\TLRequestGetDhConfig.cs" />
<Compile Include="TL\Messages\TLRequestGetDialogs.cs" />
<Compile Include="TL\Messages\TLRequestGetDocumentByHash.cs" />
<Compile Include="TL\Messages\TLRequestGetFeaturedStickers.cs" />
<Compile Include="TL\Messages\TLRequestGetFullChat.cs" />
<Compile Include="TL\Messages\TLRequestGetGameHighScores.cs" />
<Compile Include="TL\Messages\TLRequestGetHistory.cs" />
<Compile Include="TL\Messages\TLRequestGetInlineBotResults.cs" />
<Compile Include="TL\Messages\TLRequestGetInlineGameHighScores.cs" />
<Compile Include="TL\Messages\TLRequestGetMaskStickers.cs" />
<Compile Include="TL\Messages\TLRequestGetMessageEditData.cs" />
<Compile Include="TL\Messages\TLRequestGetMessages.cs" />
<Compile Include="TL\Messages\TLRequestGetMessagesViews.cs" />
<Compile Include="TL\Messages\TLRequestGetPeerDialogs.cs" />
<Compile Include="TL\Messages\TLRequestGetPeerSettings.cs" />
<Compile Include="TL\Messages\TLRequestGetRecentStickers.cs" />
<Compile Include="TL\Messages\TLRequestGetSavedGifs.cs" />
<Compile Include="TL\Messages\TLRequestGetStickers.cs" />
<Compile Include="TL\Messages\TLRequestGetStickerSet.cs" />
<Compile Include="TL\Messages\TLRequestGetWebPagePreview.cs" />
<Compile Include="TL\Messages\TLRequestHideReportSpam.cs" />
@ -249,6 +269,7 @@
<Compile Include="TL\Messages\TLRequestInstallStickerSet.cs" />
<Compile Include="TL\Messages\TLRequestMigrateChat.cs" />
<Compile Include="TL\Messages\TLRequestReadEncryptedHistory.cs" />
<Compile Include="TL\Messages\TLRequestReadFeaturedStickers.cs" />
<Compile Include="TL\Messages\TLRequestReadHistory.cs" />
<Compile Include="TL\Messages\TLRequestReadMessageContents.cs" />
<Compile Include="TL\Messages\TLRequestReceivedMessages.cs" />
@ -258,10 +279,10 @@
<Compile Include="TL\Messages\TLRequestRequestEncryption.cs" />
<Compile Include="TL\Messages\TLRequestSaveDraft.cs" />
<Compile Include="TL\Messages\TLRequestSaveGif.cs" />
<Compile Include="TL\Messages\TLRequestSaveRecentSticker.cs" />
<Compile Include="TL\Messages\TLRequestSearch.cs" />
<Compile Include="TL\Messages\TLRequestSearchGifs.cs" />
<Compile Include="TL\Messages\TLRequestSearchGlobal.cs" />
<Compile Include="TL\Messages\TLRequestSendBroadcast.cs" />
<Compile Include="TL\Messages\TLRequestSendEncrypted.cs" />
<Compile Include="TL\Messages\TLRequestSendEncryptedFile.cs" />
<Compile Include="TL\Messages\TLRequestSendEncryptedService.cs" />
@ -270,7 +291,9 @@
<Compile Include="TL\Messages\TLRequestSendMessage.cs" />
<Compile Include="TL\Messages\TLRequestSetBotCallbackAnswer.cs" />
<Compile Include="TL\Messages\TLRequestSetEncryptedTyping.cs" />
<Compile Include="TL\Messages\TLRequestSetGameScore.cs" />
<Compile Include="TL\Messages\TLRequestSetInlineBotResults.cs" />
<Compile Include="TL\Messages\TLRequestSetInlineGameScore.cs" />
<Compile Include="TL\Messages\TLRequestSetTyping.cs" />
<Compile Include="TL\Messages\TLRequestStartBot.cs" />
<Compile Include="TL\Messages\TLRequestToggleChatAdmins.cs" />
@ -281,6 +304,8 @@
<Compile Include="TL\Messages\TLSentEncryptedMessage.cs" />
<Compile Include="TL\Messages\TLStickers.cs" />
<Compile Include="TL\Messages\TLStickerSet.cs" />
<Compile Include="TL\Messages\TLStickerSetInstallResultArchive.cs" />
<Compile Include="TL\Messages\TLStickerSetInstallResultSuccess.cs" />
<Compile Include="TL\Messages\TLStickersNotModified.cs" />
<Compile Include="TL\Photos\TLAbsPhotos.cs" />
<Compile Include="TL\Photos\TLPhoto.cs" />
@ -333,15 +358,16 @@
<Compile Include="TL\TLAbsInputEncryptedFile.cs" />
<Compile Include="TL\TLAbsInputFile.cs" />
<Compile Include="TL\TLAbsInputFileLocation.cs" />
<Compile Include="TL\TLAbsInputGame.cs" />
<Compile Include="TL\TLAbsInputGeoPoint.cs" />
<Compile Include="TL\TLAbsInputMedia.cs" />
<Compile Include="TL\TLAbsInputNotifyPeer.cs" />
<Compile Include="TL\TLAbsInputPeer.cs" />
<Compile Include="TL\TLAbsInputPeerNotifyEvents.cs" />
<Compile Include="TL\TLAbsInputPhoto.cs" />
<Compile Include="TL\TLAbsInputPhotoCrop.cs" />
<Compile Include="TL\TLAbsInputPrivacyKey.cs" />
<Compile Include="TL\TLAbsInputPrivacyRule.cs" />
<Compile Include="TL\TLAbsInputStickeredMedia.cs" />
<Compile Include="TL\TLAbsInputStickerSet.cs" />
<Compile Include="TL\TLAbsInputUser.cs" />
<Compile Include="TL\TLAbsKeyboardButton.cs" />
@ -361,6 +387,7 @@
<Compile Include="TL\TLAbsReplyMarkup.cs" />
<Compile Include="TL\TLAbsReportReason.cs" />
<Compile Include="TL\TLAbsSendMessageAction.cs" />
<Compile Include="TL\TLAbsStickerSetCovered.cs" />
<Compile Include="TL\TLAbsTopPeerCategory.cs" />
<Compile Include="TL\TLAbsUpdate.cs" />
<Compile Include="TL\TLAbsUpdates.cs" />
@ -430,6 +457,7 @@
<Compile Include="TL\TLDocumentAttributeAnimated.cs" />
<Compile Include="TL\TLDocumentAttributeAudio.cs" />
<Compile Include="TL\TLDocumentAttributeFilename.cs" />
<Compile Include="TL\TLDocumentAttributeHasStickers.cs" />
<Compile Include="TL\TLDocumentAttributeImageSize.cs" />
<Compile Include="TL\TLDocumentAttributeSticker.cs" />
<Compile Include="TL\TLDocumentAttributeVideo.cs" />
@ -451,11 +479,14 @@
<Compile Include="TL\TLFileLocationUnavailable.cs" />
<Compile Include="TL\TLFoundGif.cs" />
<Compile Include="TL\TLFoundGifCached.cs" />
<Compile Include="TL\TLGame.cs" />
<Compile Include="TL\TLGeoPoint.cs" />
<Compile Include="TL\TLGeoPointEmpty.cs" />
<Compile Include="TL\TLHighScore.cs" />
<Compile Include="TL\TLImportedContact.cs" />
<Compile Include="TL\TLInlineBotSwitchPM.cs" />
<Compile Include="TL\TLInputAppEvent.cs" />
<Compile Include="TL\TLInputBotInlineMessageGame.cs" />
<Compile Include="TL\TLInputBotInlineMessageID.cs" />
<Compile Include="TL\TLInputBotInlineMessageMediaAuto.cs" />
<Compile Include="TL\TLInputBotInlineMessageMediaContact.cs" />
@ -464,6 +495,7 @@
<Compile Include="TL\TLInputBotInlineMessageText.cs" />
<Compile Include="TL\TLInputBotInlineResult.cs" />
<Compile Include="TL\TLInputBotInlineResultDocument.cs" />
<Compile Include="TL\TLInputBotInlineResultGame.cs" />
<Compile Include="TL\TLInputBotInlineResultPhoto.cs" />
<Compile Include="TL\TLInputChannel.cs" />
<Compile Include="TL\TLInputChannelEmpty.cs" />
@ -482,14 +514,19 @@
<Compile Include="TL\TLInputFile.cs" />
<Compile Include="TL\TLInputFileBig.cs" />
<Compile Include="TL\TLInputFileLocation.cs" />
<Compile Include="TL\TLInputGameID.cs" />
<Compile Include="TL\TLInputGameShortName.cs" />
<Compile Include="TL\TLInputGeoPoint.cs" />
<Compile Include="TL\TLInputGeoPointEmpty.cs" />
<Compile Include="TL\TLInputMediaContact.cs" />
<Compile Include="TL\TLInputMediaDocument.cs" />
<Compile Include="TL\TLInputMediaDocumentExternal.cs" />
<Compile Include="TL\TLInputMediaEmpty.cs" />
<Compile Include="TL\TLInputMediaGame.cs" />
<Compile Include="TL\TLInputMediaGeoPoint.cs" />
<Compile Include="TL\TLInputMediaGifExternal.cs" />
<Compile Include="TL\TLInputMediaPhoto.cs" />
<Compile Include="TL\TLInputMediaPhotoExternal.cs" />
<Compile Include="TL\TLInputMediaUploadedDocument.cs" />
<Compile Include="TL\TLInputMediaUploadedPhoto.cs" />
<Compile Include="TL\TLInputMediaUploadedThumbDocument.cs" />
@ -520,8 +557,6 @@
<Compile Include="TL\TLInputPeerUser.cs" />
<Compile Include="TL\TLInputPhoneContact.cs" />
<Compile Include="TL\TLInputPhoto.cs" />
<Compile Include="TL\TLInputPhotoCrop.cs" />
<Compile Include="TL\TLInputPhotoCropAuto.cs" />
<Compile Include="TL\TLInputPhotoEmpty.cs" />
<Compile Include="TL\TLInputPrivacyKeyChatInvite.cs" />
<Compile Include="TL\TLInputPrivacyKeyStatusTimestamp.cs" />
@ -535,6 +570,8 @@
<Compile Include="TL\TLInputReportReasonPornography.cs" />
<Compile Include="TL\TLInputReportReasonSpam.cs" />
<Compile Include="TL\TLInputReportReasonViolence.cs" />
<Compile Include="TL\TLInputStickeredMediaDocument.cs" />
<Compile Include="TL\TLInputStickeredMediaPhoto.cs" />
<Compile Include="TL\TLInputStickerSetEmpty.cs" />
<Compile Include="TL\TLInputStickerSetID.cs" />
<Compile Include="TL\TLInputStickerSetShortName.cs" />
@ -543,11 +580,13 @@
<Compile Include="TL\TLInputUserSelf.cs" />
<Compile Include="TL\TLKeyboardButton.cs" />
<Compile Include="TL\TLKeyboardButtonCallback.cs" />
<Compile Include="TL\TLKeyboardButtonGame.cs" />
<Compile Include="TL\TLKeyboardButtonRequestGeoLocation.cs" />
<Compile Include="TL\TLKeyboardButtonRequestPhone.cs" />
<Compile Include="TL\TLKeyboardButtonRow.cs" />
<Compile Include="TL\TLKeyboardButtonSwitchInline.cs" />
<Compile Include="TL\TLKeyboardButtonUrl.cs" />
<Compile Include="TL\TLMaskCoords.cs" />
<Compile Include="TL\TLMessage.cs" />
<Compile Include="TL\TLMessageActionChannelCreate.cs" />
<Compile Include="TL\TLMessageActionChannelMigrateFrom.cs" />
@ -560,6 +599,7 @@
<Compile Include="TL\TLMessageActionChatJoinedByLink.cs" />
<Compile Include="TL\TLMessageActionChatMigrateTo.cs" />
<Compile Include="TL\TLMessageActionEmpty.cs" />
<Compile Include="TL\TLMessageActionGameScore.cs" />
<Compile Include="TL\TLMessageActionHistoryClear.cs" />
<Compile Include="TL\TLMessageActionPinMessage.cs" />
<Compile Include="TL\TLMessageEmpty.cs" />
@ -579,6 +619,7 @@
<Compile Include="TL\TLMessageMediaContact.cs" />
<Compile Include="TL\TLMessageMediaDocument.cs" />
<Compile Include="TL\TLMessageMediaEmpty.cs" />
<Compile Include="TL\TLMessageMediaGame.cs" />
<Compile Include="TL\TLMessageMediaGeo.cs" />
<Compile Include="TL\TLMessageMediaPhoto.cs" />
<Compile Include="TL\TLMessageMediaUnsupported.cs" />
@ -625,6 +666,7 @@
<Compile Include="TL\TLRequestInvokeWithoutUpdates.cs" />
<Compile Include="TL\TLSendMessageCancelAction.cs" />
<Compile Include="TL\TLSendMessageChooseContactAction.cs" />
<Compile Include="TL\TLSendMessageGamePlayAction.cs" />
<Compile Include="TL\TLSendMessageGeoLocationAction.cs" />
<Compile Include="TL\TLSendMessageRecordAudioAction.cs" />
<Compile Include="TL\TLSendMessageRecordVideoAction.cs" />
@ -635,6 +677,8 @@
<Compile Include="TL\TLSendMessageUploadVideoAction.cs" />
<Compile Include="TL\TLStickerPack.cs" />
<Compile Include="TL\TLStickerSet.cs" />
<Compile Include="TL\TLStickerSetCovered.cs" />
<Compile Include="TL\TLStickerSetMultiCovered.cs" />
<Compile Include="TL\TLTopPeer.cs" />
<Compile Include="TL\TLTopPeerCategoryBotsInline.cs" />
<Compile Include="TL\TLTopPeerCategoryBotsPM.cs" />
@ -656,6 +700,7 @@
<Compile Include="TL\TLUpdateChatParticipantDelete.cs" />
<Compile Include="TL\TLUpdateChatParticipants.cs" />
<Compile Include="TL\TLUpdateChatUserTyping.cs" />
<Compile Include="TL\TLUpdateConfig.cs" />
<Compile Include="TL\TLUpdateContactLink.cs" />
<Compile Include="TL\TLUpdateContactRegistered.cs" />
<Compile Include="TL\TLUpdateDcOptions.cs" />
@ -676,11 +721,14 @@
<Compile Include="TL\TLUpdateNewStickerSet.cs" />
<Compile Include="TL\TLUpdateNotifySettings.cs" />
<Compile Include="TL\TLUpdatePrivacy.cs" />
<Compile Include="TL\TLUpdatePtsChanged.cs" />
<Compile Include="TL\TLUpdateReadChannelInbox.cs" />
<Compile Include="TL\TLUpdateReadChannelOutbox.cs" />
<Compile Include="TL\TLUpdateReadFeaturedStickers.cs" />
<Compile Include="TL\TLUpdateReadHistoryInbox.cs" />
<Compile Include="TL\TLUpdateReadHistoryOutbox.cs" />
<Compile Include="TL\TLUpdateReadMessagesContents.cs" />
<Compile Include="TL\TLUpdateRecentStickers.cs" />
<Compile Include="TL\TLUpdates.cs" />
<Compile Include="TL\TLUpdateSavedGifs.cs" />
<Compile Include="TL\TLUpdatesCombined.cs" />
@ -710,6 +758,7 @@
<Compile Include="TL\TLUserStatusOffline.cs" />
<Compile Include="TL\TLUserStatusOnline.cs" />
<Compile Include="TL\TLUserStatusRecently.cs" />
<Compile Include="TL\TLVector.cs" />
<Compile Include="TL\TLWallPaper.cs" />
<Compile Include="TL\TLWallPaperSolid.cs" />
<Compile Include="TL\TLWebPage.cs" />