mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
- Layer 53
- Fix bug in generator - Fix DC switching - change default server
This commit is contained in:
parent
0752c60082
commit
40c1725e41
|
|
@ -54,7 +54,8 @@ namespace TLSharp.Core
|
||||||
|
|
||||||
public class Session
|
public class Session
|
||||||
{
|
{
|
||||||
private const string defaultConnectionAddress = "91.108.56.165";
|
private const string defaultConnectionAddress = "149.154.175.100";//"149.154.167.50";
|
||||||
|
|
||||||
private const int defaultConnectionPort = 443;
|
private const int defaultConnectionPort = 443;
|
||||||
|
|
||||||
public string SessionUserId { get; set; }
|
public string SessionUserId { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -51,16 +51,14 @@ namespace TLSharp.Core
|
||||||
|
|
||||||
_sender = new MtProtoSender(_transport, _session);
|
_sender = new MtProtoSender(_transport, _session);
|
||||||
|
|
||||||
if (!reconnect)
|
//set-up layer
|
||||||
{
|
|
||||||
var config = new TLRequestGetConfig();
|
var config = new TLRequestGetConfig();
|
||||||
var request = new TLRequestInitConnection() { api_id = _apiId, app_version = "1.0.0", device_model = "PC", lang_code = "en", query = config, system_version = "Win 10.0" };
|
var request = new TLRequestInitConnection() { api_id = _apiId, app_version = "1.0.0", device_model = "PC", lang_code = "en", query = config, system_version = "Win 10.0" };
|
||||||
var invokewithLayer = new TLRequestInvokeWithLayer() { layer = 53, query = request };
|
var invokewithLayer = new TLRequestInvokeWithLayer() { layer = 57, query = request };
|
||||||
await _sender.Send(invokewithLayer);
|
await _sender.Send(invokewithLayer);
|
||||||
await _sender.Receive(invokewithLayer);
|
await _sender.Receive(invokewithLayer);
|
||||||
|
|
||||||
dcOptions = ((TLConfig)invokewithLayer.Response).dc_options.lists;
|
dcOptions = ((TLConfig)invokewithLayer.Response).dc_options.lists;
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -159,7 +157,6 @@ namespace TLSharp.Core
|
||||||
return (T)result;
|
return (T)result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public async Task<TLContacts> GetContactsAsync()
|
public async Task<TLContacts> GetContactsAsync()
|
||||||
{
|
{
|
||||||
if (!IsUserAuthorized())
|
if (!IsUserAuthorized())
|
||||||
|
|
|
||||||
|
|
@ -129,10 +129,6 @@ namespace TeleSharp.Generator
|
||||||
}
|
}
|
||||||
foreach (var c in schema.methods)
|
foreach (var c in schema.methods)
|
||||||
{
|
{
|
||||||
if (c.method.Contains("updateUsername"))
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
string path = (GetNameSpace(c.method).Replace("TeleSharp.TL", "TL\\").Replace(".", "") + "\\" + GetNameofClass(c.method, false, true) + ".cs").Replace("\\\\", "\\");
|
string path = (GetNameSpace(c.method).Replace("TeleSharp.TL", "TL\\").Replace(".", "") + "\\" + GetNameofClass(c.method, false, true) + ".cs").Replace("\\\\", "\\");
|
||||||
FileStream classFile = MakeFile(path);
|
FileStream classFile = MakeFile(path);
|
||||||
using (StreamWriter writer = new StreamWriter(classFile))
|
using (StreamWriter writer = new StreamWriter(classFile))
|
||||||
|
|
@ -280,7 +276,6 @@ namespace TeleSharp.Generator
|
||||||
}
|
}
|
||||||
public static string GetTypeName(string type)
|
public static string GetTypeName(string type)
|
||||||
{
|
{
|
||||||
if (type.ToLower().Contains("inputcontact")) return "TLInputPhoneContact";
|
|
||||||
switch (type.ToLower())
|
switch (type.ToLower())
|
||||||
{
|
{
|
||||||
case "#":
|
case "#":
|
||||||
|
|
@ -304,10 +299,14 @@ namespace TeleSharp.Generator
|
||||||
case "x":
|
case "x":
|
||||||
return "TLObject";
|
return "TLObject";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type.StartsWith("Vector"))
|
if (type.StartsWith("Vector"))
|
||||||
return "TLVector<" + GetTypeName(type.Replace("Vector<", "").Replace(">", "")) + ">";
|
return "TLVector<" + GetTypeName(type.Replace("Vector<", "").Replace(">", "")) + ">";
|
||||||
else
|
|
||||||
{
|
if (type.ToLower().Contains("inputcontact"))
|
||||||
|
return "TLInputPhoneContact";
|
||||||
|
|
||||||
|
|
||||||
if (type.IndexOf('.') != -1 && type.IndexOf('?') == -1)
|
if (type.IndexOf('.') != -1 && type.IndexOf('?') == -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
@ -331,7 +330,7 @@ namespace TeleSharp.Generator
|
||||||
{
|
{
|
||||||
return GetTypeName(type.Split('?')[1]);
|
return GetTypeName(type.Split('?')[1]);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public static string LookTypeInLists(string src)
|
public static string LookTypeInLists(string src)
|
||||||
|
|
|
||||||
51
TeleSharp.TL/TL/Account/TLRequestConfirmPhone.cs
Normal file
51
TeleSharp.TL/TL/Account/TLRequestConfirmPhone.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
66
TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs
Normal file
66
TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,27 +7,37 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL.Auth
|
namespace TeleSharp.TL.Auth
|
||||||
{
|
{
|
||||||
[TLObject(-16553231)]
|
[TLObject(-855308010)]
|
||||||
public class TLAuthorization : TLObject
|
public class TLAuthorization : TLObject
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -16553231;
|
return -855308010;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
|
public int? tmp_sessions {get;set;}
|
||||||
public TLAbsUser user {get;set;}
|
public TLAbsUser user {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
|
flags = 0;
|
||||||
|
flags = tmp_sessions != null ? (flags | 1) : (flags & ~1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
|
if ((flags & 1) != 0)
|
||||||
|
tmp_sessions = br.ReadInt32();
|
||||||
|
else
|
||||||
|
tmp_sessions = null;
|
||||||
|
|
||||||
user = (TLAbsUser)ObjectUtils.DeserializeObject(br);
|
user = (TLAbsUser)ObjectUtils.DeserializeObject(br);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -35,6 +45,10 @@ namespace TeleSharp.TL.Auth
|
||||||
public override void SerializeBody(BinaryWriter bw)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
|
if ((flags & 1) != 0)
|
||||||
|
bw.Write(tmp_sessions.Value);
|
||||||
ObjectUtils.SerializeObject(user,bw);
|
ObjectUtils.SerializeObject(user,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
48
TeleSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs
Normal file
48
TeleSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -30,7 +30,7 @@ namespace TeleSharp.TL.Contacts
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
contacts = ObjectUtils.DeserializeVector<TLInputPhoneContact>(br);
|
contacts = (TLVector<TLInputPhoneContact>)ObjectUtils.DeserializeVector<TLInputPhoneContact>(br);
|
||||||
replace = BoolUtil.Deserialize(br);
|
replace = BoolUtil.Deserialize(br);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
13
TeleSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs
Normal file
13
TeleSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs
Normal 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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
13
TeleSharp.TL/TL/Messages/TLAbsRecentStickers.cs
Normal file
13
TeleSharp.TL/TL/Messages/TLAbsRecentStickers.cs
Normal 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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
13
TeleSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs
Normal file
13
TeleSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs
Normal 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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
45
TeleSharp.TL/TL/Messages/TLArchivedStickers.cs
Normal file
45
TeleSharp.TL/TL/Messages/TLArchivedStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,27 +7,31 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL.Messages
|
namespace TeleSharp.TL.Messages
|
||||||
{
|
{
|
||||||
[TLObject(308605382)]
|
[TLObject(-1324486149)]
|
||||||
public class TLBotCallbackAnswer : TLObject
|
public class TLBotCallbackAnswer : TLObject
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return 308605382;
|
return -1324486149;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public int flags {get;set;}
|
public int flags {get;set;}
|
||||||
public bool alert {get;set;}
|
public bool alert {get;set;}
|
||||||
|
public bool has_url {get;set;}
|
||||||
public string message {get;set;}
|
public string message {get;set;}
|
||||||
|
public string url {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
flags = 0;
|
flags = 0;
|
||||||
flags = alert ? (flags | 2) : (flags & ~2);
|
flags = alert ? (flags | 2) : (flags & ~2);
|
||||||
|
flags = has_url ? (flags | 8) : (flags & ~8);
|
||||||
flags = message != null ? (flags | 1) : (flags & ~1);
|
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();
|
flags = br.ReadInt32();
|
||||||
alert = (flags & 2) != 0;
|
alert = (flags & 2) != 0;
|
||||||
|
has_url = (flags & 8) != 0;
|
||||||
if ((flags & 1) != 0)
|
if ((flags & 1) != 0)
|
||||||
message = StringUtil.Deserialize(br);
|
message = StringUtil.Deserialize(br);
|
||||||
else
|
else
|
||||||
message = null;
|
message = null;
|
||||||
|
|
||||||
|
if ((flags & 4) != 0)
|
||||||
|
url = StringUtil.Deserialize(br);
|
||||||
|
else
|
||||||
|
url = null;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -49,8 +59,11 @@ message = null;
|
||||||
ComputeFlags();
|
ComputeFlags();
|
||||||
bw.Write(flags);
|
bw.Write(flags);
|
||||||
|
|
||||||
|
|
||||||
if ((flags & 1) != 0)
|
if ((flags & 1) != 0)
|
||||||
StringUtil.Serialize(message,bw);
|
StringUtil.Serialize(message,bw);
|
||||||
|
if ((flags & 4) != 0)
|
||||||
|
StringUtil.Serialize(url,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
48
TeleSharp.TL/TL/Messages/TLFeaturedStickers.cs
Normal file
48
TeleSharp.TL/TL/Messages/TLFeaturedStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
39
TeleSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs
Normal file
39
TeleSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
45
TeleSharp.TL/TL/Messages/TLHighScores.cs
Normal file
45
TeleSharp.TL/TL/Messages/TLHighScores.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
45
TeleSharp.TL/TL/Messages/TLRecentStickers.cs
Normal file
45
TeleSharp.TL/TL/Messages/TLRecentStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
39
TeleSharp.TL/TL/Messages/TLRecentStickersNotModified.cs
Normal file
39
TeleSharp.TL/TL/Messages/TLRecentStickersNotModified.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
54
TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs
Normal file
54
TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -21,6 +21,7 @@ namespace TeleSharp.TL.Messages
|
||||||
public int flags {get;set;}
|
public int flags {get;set;}
|
||||||
public bool silent {get;set;}
|
public bool silent {get;set;}
|
||||||
public bool background {get;set;}
|
public bool background {get;set;}
|
||||||
|
public bool with_my_score {get;set;}
|
||||||
public TLAbsInputPeer from_peer {get;set;}
|
public TLAbsInputPeer from_peer {get;set;}
|
||||||
public TLVector<int> id {get;set;}
|
public TLVector<int> id {get;set;}
|
||||||
public TLVector<long> random_id {get;set;}
|
public TLVector<long> random_id {get;set;}
|
||||||
|
|
@ -33,6 +34,7 @@ namespace TeleSharp.TL.Messages
|
||||||
flags = 0;
|
flags = 0;
|
||||||
flags = silent ? (flags | 32) : (flags & ~32);
|
flags = silent ? (flags | 32) : (flags & ~32);
|
||||||
flags = background ? (flags | 64) : (flags & ~64);
|
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();
|
flags = br.ReadInt32();
|
||||||
silent = (flags & 32) != 0;
|
silent = (flags & 32) != 0;
|
||||||
background = (flags & 64) != 0;
|
background = (flags & 64) != 0;
|
||||||
|
with_my_score = (flags & 256) != 0;
|
||||||
from_peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
|
from_peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
|
||||||
id = (TLVector<int>)ObjectUtils.DeserializeVector<int>(br);
|
id = (TLVector<int>)ObjectUtils.DeserializeVector<int>(br);
|
||||||
random_id = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
|
random_id = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
|
||||||
|
|
@ -55,6 +58,7 @@ to_peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
|
||||||
bw.Write(flags);
|
bw.Write(flags);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ObjectUtils.SerializeObject(from_peer,bw);
|
ObjectUtils.SerializeObject(from_peer,bw);
|
||||||
ObjectUtils.SerializeObject(id,bw);
|
ObjectUtils.SerializeObject(id,bw);
|
||||||
ObjectUtils.SerializeObject(random_id,bw);
|
ObjectUtils.SerializeObject(random_id,bw);
|
||||||
|
|
|
||||||
60
TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs
Normal file
60
TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
48
TeleSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs
Normal file
48
TeleSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs
Normal 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(-866424884)]
|
||||||
|
public class TLRequestGetAttachedStickers : TLMethod
|
||||||
|
{
|
||||||
|
public override int Constructor
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return -866424884;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public TLAbsInputStickeredMedia media {get;set;}
|
||||||
|
public TLVector<TLAbsStickerSetCovered> Response{ get; set;}
|
||||||
|
|
||||||
|
|
||||||
|
public void ComputeFlags()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void DeserializeBody(BinaryReader br)
|
||||||
|
{
|
||||||
|
media = (TLAbsInputStickeredMedia)ObjectUtils.DeserializeObject(br);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
|
{
|
||||||
|
bw.Write(Constructor);
|
||||||
|
ObjectUtils.SerializeObject(media,bw);
|
||||||
|
|
||||||
|
}
|
||||||
|
public override void deserializeResponse(BinaryReader br)
|
||||||
|
{
|
||||||
|
Response = (TLVector<TLAbsStickerSetCovered>)ObjectUtils.DeserializeVector<TLAbsStickerSetCovered>(br);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,17 +7,19 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL.Messages
|
namespace TeleSharp.TL.Messages
|
||||||
{
|
{
|
||||||
[TLObject(-1494659324)]
|
[TLObject(-2130010132)]
|
||||||
public class TLRequestGetBotCallbackAnswer : TLMethod
|
public class TLRequestGetBotCallbackAnswer : TLMethod
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -1494659324;
|
return -2130010132;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
|
public bool game {get;set;}
|
||||||
public TLAbsInputPeer peer {get;set;}
|
public TLAbsInputPeer peer {get;set;}
|
||||||
public int msg_id {get;set;}
|
public int msg_id {get;set;}
|
||||||
public byte[] data {get;set;}
|
public byte[] data {get;set;}
|
||||||
|
|
@ -26,22 +28,35 @@ namespace TeleSharp.TL.Messages
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
|
flags = 0;
|
||||||
|
flags = game ? (flags | 2) : (flags & ~2);
|
||||||
|
flags = data != null ? (flags | 1) : (flags & ~1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
|
game = (flags & 2) != 0;
|
||||||
peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
|
peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
|
||||||
msg_id = br.ReadInt32();
|
msg_id = br.ReadInt32();
|
||||||
|
if ((flags & 1) != 0)
|
||||||
data = BytesUtil.Deserialize(br);
|
data = BytesUtil.Deserialize(br);
|
||||||
|
else
|
||||||
|
data = null;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void SerializeBody(BinaryWriter bw)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
|
|
||||||
ObjectUtils.SerializeObject(peer,bw);
|
ObjectUtils.SerializeObject(peer,bw);
|
||||||
bw.Write(msg_id);
|
bw.Write(msg_id);
|
||||||
|
if ((flags & 1) != 0)
|
||||||
BytesUtil.Serialize(data,bw);
|
BytesUtil.Serialize(data,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
48
TeleSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs
Normal file
48
TeleSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
54
TeleSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs
Normal file
54
TeleSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
51
TeleSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs
Normal file
51
TeleSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
48
TeleSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs
Normal file
48
TeleSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
57
TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs
Normal file
57
TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,20 +7,20 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL.Messages
|
namespace TeleSharp.TL.Messages
|
||||||
{
|
{
|
||||||
[TLObject(2066793382)]
|
[TLObject(-946871200)]
|
||||||
public class TLRequestInstallStickerSet : TLMethod
|
public class TLRequestInstallStickerSet : TLMethod
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return 2066793382;
|
return -946871200;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public TLAbsInputStickerSet stickerset {get;set;}
|
public TLAbsInputStickerSet stickerset {get;set;}
|
||||||
public bool disabled {get;set;}
|
public bool archived {get;set;}
|
||||||
public bool Response{ get; set;}
|
public Messages.TLAbsStickerSetInstallResult Response{ get; set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
|
|
@ -31,7 +31,7 @@ namespace TeleSharp.TL.Messages
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(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);
|
bw.Write(Constructor);
|
||||||
ObjectUtils.SerializeObject(stickerset,bw);
|
ObjectUtils.SerializeObject(stickerset,bw);
|
||||||
BoolUtil.Serialize(disabled,bw);
|
BoolUtil.Serialize(archived,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
public override void deserializeResponse(BinaryReader br)
|
public override void deserializeResponse(BinaryReader br)
|
||||||
{
|
{
|
||||||
Response = BoolUtil.Deserialize(br);
|
Response = (Messages.TLAbsStickerSetInstallResult)ObjectUtils.DeserializeObject(br);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
48
TeleSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs
Normal file
48
TeleSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,28 +7,34 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL.Messages
|
namespace TeleSharp.TL.Messages
|
||||||
{
|
{
|
||||||
[TLObject(-1613775824)]
|
[TLObject(2016638777)]
|
||||||
public class TLRequestReorderStickerSets : TLMethod
|
public class TLRequestReorderStickerSets : TLMethod
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -1613775824;
|
return 2016638777;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
|
public bool masks {get;set;}
|
||||||
public TLVector<long> order {get;set;}
|
public TLVector<long> order {get;set;}
|
||||||
public bool Response{ get; set;}
|
public bool Response{ get; set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
|
flags = 0;
|
||||||
|
flags = masks ? (flags | 1) : (flags & ~1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
|
masks = (flags & 1) != 0;
|
||||||
order = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
|
order = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -36,6 +42,9 @@ namespace TeleSharp.TL.Messages
|
||||||
public override void SerializeBody(BinaryWriter bw)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
|
|
||||||
ObjectUtils.SerializeObject(order,bw);
|
ObjectUtils.SerializeObject(order,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
60
TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs
Normal file
60
TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,14 +7,14 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL.Messages
|
namespace TeleSharp.TL.Messages
|
||||||
{
|
{
|
||||||
[TLObject(1209817370)]
|
[TLObject(-920136629)]
|
||||||
public class TLRequestSetBotCallbackAnswer : TLMethod
|
public class TLRequestSetBotCallbackAnswer : TLMethod
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return 1209817370;
|
return -920136629;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -22,6 +22,7 @@ namespace TeleSharp.TL.Messages
|
||||||
public bool alert {get;set;}
|
public bool alert {get;set;}
|
||||||
public long query_id {get;set;}
|
public long query_id {get;set;}
|
||||||
public string message {get;set;}
|
public string message {get;set;}
|
||||||
|
public string url {get;set;}
|
||||||
public bool Response{ get; set;}
|
public bool Response{ get; set;}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -30,6 +31,7 @@ namespace TeleSharp.TL.Messages
|
||||||
flags = 0;
|
flags = 0;
|
||||||
flags = alert ? (flags | 2) : (flags & ~2);
|
flags = alert ? (flags | 2) : (flags & ~2);
|
||||||
flags = message != null ? (flags | 1) : (flags & ~1);
|
flags = message != null ? (flags | 1) : (flags & ~1);
|
||||||
|
flags = url != null ? (flags | 4) : (flags & ~4);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -43,6 +45,11 @@ message = StringUtil.Deserialize(br);
|
||||||
else
|
else
|
||||||
message = null;
|
message = null;
|
||||||
|
|
||||||
|
if ((flags & 4) != 0)
|
||||||
|
url = StringUtil.Deserialize(br);
|
||||||
|
else
|
||||||
|
url = null;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -55,6 +62,8 @@ bw.Write(flags);
|
||||||
bw.Write(query_id);
|
bw.Write(query_id);
|
||||||
if ((flags & 1) != 0)
|
if ((flags & 1) != 0)
|
||||||
StringUtil.Serialize(message,bw);
|
StringUtil.Serialize(message,bw);
|
||||||
|
if ((flags & 4) != 0)
|
||||||
|
StringUtil.Serialize(url,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
public override void deserializeResponse(BinaryReader br)
|
public override void deserializeResponse(BinaryReader br)
|
||||||
|
|
|
||||||
66
TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs
Normal file
66
TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
63
TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs
Normal file
63
TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
42
TeleSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs
Normal file
42
TeleSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
39
TeleSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs
Normal file
39
TeleSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,19 +7,18 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL.Photos
|
namespace TeleSharp.TL.Photos
|
||||||
{
|
{
|
||||||
[TLObject(-285902432)]
|
[TLObject(-256159406)]
|
||||||
public class TLRequestUpdateProfilePhoto : TLMethod
|
public class TLRequestUpdateProfilePhoto : TLMethod
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -285902432;
|
return -256159406;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public TLAbsInputPhoto id {get;set;}
|
public TLAbsInputPhoto id {get;set;}
|
||||||
public TLAbsInputPhotoCrop crop {get;set;}
|
|
||||||
public TLAbsUserProfilePhoto Response{ get; set;}
|
public TLAbsUserProfilePhoto Response{ get; set;}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -31,7 +30,6 @@ namespace TeleSharp.TL.Photos
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
|
id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
|
||||||
crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -39,7 +37,6 @@ crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
ObjectUtils.SerializeObject(id,bw);
|
ObjectUtils.SerializeObject(id,bw);
|
||||||
ObjectUtils.SerializeObject(crop,bw);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public override void deserializeResponse(BinaryReader br)
|
public override void deserializeResponse(BinaryReader br)
|
||||||
|
|
|
||||||
|
|
@ -7,21 +7,18 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL.Photos
|
namespace TeleSharp.TL.Photos
|
||||||
{
|
{
|
||||||
[TLObject(-720397176)]
|
[TLObject(1328726168)]
|
||||||
public class TLRequestUploadProfilePhoto : TLMethod
|
public class TLRequestUploadProfilePhoto : TLMethod
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -720397176;
|
return 1328726168;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public TLAbsInputFile file {get;set;}
|
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;}
|
public Photos.TLPhoto Response{ get; set;}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,9 +30,6 @@ namespace TeleSharp.TL.Photos
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(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);
|
bw.Write(Constructor);
|
||||||
ObjectUtils.SerializeObject(file,bw);
|
ObjectUtils.SerializeObject(file,bw);
|
||||||
StringUtil.Serialize(caption,bw);
|
|
||||||
ObjectUtils.SerializeObject(geo_point,bw);
|
|
||||||
ObjectUtils.SerializeObject(crop,bw);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public override void deserializeResponse(BinaryReader br)
|
public override void deserializeResponse(BinaryReader br)
|
||||||
|
|
|
||||||
13
TeleSharp.TL/TL/TLAbsInputGame.cs
Normal file
13
TeleSharp.TL/TL/TLAbsInputGame.cs
Normal 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 TLAbsInputGame : TLObject
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
13
TeleSharp.TL/TL/TLAbsInputStickeredMedia.cs
Normal file
13
TeleSharp.TL/TL/TLAbsInputStickeredMedia.cs
Normal 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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
13
TeleSharp.TL/TL/TLAbsStickerSetCovered.cs
Normal file
13
TeleSharp.TL/TL/TLAbsStickerSetCovered.cs
Normal 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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,14 +7,14 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-1813406880)]
|
[TLObject(-613092008)]
|
||||||
public class TLChatInvite : TLAbsChatInvite
|
public class TLChatInvite : TLAbsChatInvite
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -1813406880;
|
return -613092008;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -24,6 +24,9 @@ namespace TeleSharp.TL
|
||||||
public bool @public {get;set;}
|
public bool @public {get;set;}
|
||||||
public bool megagroup {get;set;}
|
public bool megagroup {get;set;}
|
||||||
public string title {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()
|
public void ComputeFlags()
|
||||||
|
|
@ -33,6 +36,7 @@ flags = channel ? (flags | 1) : (flags & ~1);
|
||||||
flags = broadcast ? (flags | 2) : (flags & ~2);
|
flags = broadcast ? (flags | 2) : (flags & ~2);
|
||||||
flags = @public ? (flags | 4) : (flags & ~4);
|
flags = @public ? (flags | 4) : (flags & ~4);
|
||||||
flags = megagroup ? (flags | 8) : (flags & ~8);
|
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;
|
@public = (flags & 4) != 0;
|
||||||
megagroup = (flags & 8) != 0;
|
megagroup = (flags & 8) != 0;
|
||||||
title = StringUtil.Deserialize(br);
|
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);
|
StringUtil.Serialize(title,bw);
|
||||||
|
ObjectUtils.SerializeObject(photo,bw);
|
||||||
|
bw.Write(participants_count);
|
||||||
|
if ((flags & 16) != 0)
|
||||||
|
ObjectUtils.SerializeObject(participants,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,17 +7,18 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-918482040)]
|
[TLObject(-1704251862)]
|
||||||
public class TLConfig : TLObject
|
public class TLConfig : TLObject
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -918482040;
|
return -1704251862;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
public int date {get;set;}
|
public int date {get;set;}
|
||||||
public int expires {get;set;}
|
public int expires {get;set;}
|
||||||
public bool test_mode {get;set;}
|
public bool test_mode {get;set;}
|
||||||
|
|
@ -38,16 +39,21 @@ namespace TeleSharp.TL
|
||||||
public int saved_gifs_limit {get;set;}
|
public int saved_gifs_limit {get;set;}
|
||||||
public int edit_time_limit {get;set;}
|
public int edit_time_limit {get;set;}
|
||||||
public int rating_e_decay {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 TLVector<TLDisabledFeature> disabled_features {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
|
flags = 0;
|
||||||
|
flags = tmp_sessions != null ? (flags | 1) : (flags & ~1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
date = br.ReadInt32();
|
date = br.ReadInt32();
|
||||||
expires = br.ReadInt32();
|
expires = br.ReadInt32();
|
||||||
test_mode = BoolUtil.Deserialize(br);
|
test_mode = BoolUtil.Deserialize(br);
|
||||||
|
|
@ -68,6 +74,12 @@ push_chat_limit = br.ReadInt32();
|
||||||
saved_gifs_limit = br.ReadInt32();
|
saved_gifs_limit = br.ReadInt32();
|
||||||
edit_time_limit = br.ReadInt32();
|
edit_time_limit = br.ReadInt32();
|
||||||
rating_e_decay = 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);
|
disabled_features = (TLVector<TLDisabledFeature>)ObjectUtils.DeserializeVector<TLDisabledFeature>(br);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -75,6 +87,8 @@ disabled_features = (TLVector<TLDisabledFeature>)ObjectUtils.DeserializeVector<T
|
||||||
public override void SerializeBody(BinaryWriter bw)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
bw.Write(date);
|
bw.Write(date);
|
||||||
bw.Write(expires);
|
bw.Write(expires);
|
||||||
BoolUtil.Serialize(test_mode,bw);
|
BoolUtil.Serialize(test_mode,bw);
|
||||||
|
|
@ -95,6 +109,9 @@ bw.Write(push_chat_limit);
|
||||||
bw.Write(saved_gifs_limit);
|
bw.Write(saved_gifs_limit);
|
||||||
bw.Write(edit_time_limit);
|
bw.Write(edit_time_limit);
|
||||||
bw.Write(rating_e_decay);
|
bw.Write(rating_e_decay);
|
||||||
|
bw.Write(stickers_recent_limit);
|
||||||
|
if ((flags & 1) != 0)
|
||||||
|
bw.Write(tmp_sessions.Value);
|
||||||
ObjectUtils.SerializeObject(disabled_features,bw);
|
ObjectUtils.SerializeObject(disabled_features,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,14 +7,14 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-106717361)]
|
[TLObject(-2027738169)]
|
||||||
public class TLDocument : TLAbsDocument
|
public class TLDocument : TLAbsDocument
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -106717361;
|
return -2027738169;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -25,6 +25,7 @@ namespace TeleSharp.TL
|
||||||
public int size {get;set;}
|
public int size {get;set;}
|
||||||
public TLAbsPhotoSize thumb {get;set;}
|
public TLAbsPhotoSize thumb {get;set;}
|
||||||
public int dc_id {get;set;}
|
public int dc_id {get;set;}
|
||||||
|
public int version {get;set;}
|
||||||
public TLVector<TLAbsDocumentAttribute> attributes {get;set;}
|
public TLVector<TLAbsDocumentAttribute> attributes {get;set;}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -42,6 +43,7 @@ mime_type = StringUtil.Deserialize(br);
|
||||||
size = br.ReadInt32();
|
size = br.ReadInt32();
|
||||||
thumb = (TLAbsPhotoSize)ObjectUtils.DeserializeObject(br);
|
thumb = (TLAbsPhotoSize)ObjectUtils.DeserializeObject(br);
|
||||||
dc_id = br.ReadInt32();
|
dc_id = br.ReadInt32();
|
||||||
|
version = br.ReadInt32();
|
||||||
attributes = (TLVector<TLAbsDocumentAttribute>)ObjectUtils.DeserializeVector<TLAbsDocumentAttribute>(br);
|
attributes = (TLVector<TLAbsDocumentAttribute>)ObjectUtils.DeserializeVector<TLAbsDocumentAttribute>(br);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -56,6 +58,7 @@ StringUtil.Serialize(mime_type,bw);
|
||||||
bw.Write(size);
|
bw.Write(size);
|
||||||
ObjectUtils.SerializeObject(thumb,bw);
|
ObjectUtils.SerializeObject(thumb,bw);
|
||||||
bw.Write(dc_id);
|
bw.Write(dc_id);
|
||||||
|
bw.Write(version);
|
||||||
ObjectUtils.SerializeObject(attributes,bw);
|
ObjectUtils.SerializeObject(attributes,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
39
TeleSharp.TL/TL/TLDocumentAttributeHasStickers.cs
Normal file
39
TeleSharp.TL/TL/TLDocumentAttributeHasStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,38 +7,56 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(978674434)]
|
[TLObject(1662637586)]
|
||||||
public class TLDocumentAttributeSticker : TLAbsDocumentAttribute
|
public class TLDocumentAttributeSticker : TLAbsDocumentAttribute
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return 978674434;
|
return 1662637586;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
|
public bool mask {get;set;}
|
||||||
public string alt {get;set;}
|
public string alt {get;set;}
|
||||||
public TLAbsInputStickerSet stickerset {get;set;}
|
public TLAbsInputStickerSet stickerset {get;set;}
|
||||||
|
public TLMaskCoords mask_coords {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
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)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
|
mask = (flags & 2) != 0;
|
||||||
alt = StringUtil.Deserialize(br);
|
alt = StringUtil.Deserialize(br);
|
||||||
stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(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)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
|
|
||||||
StringUtil.Serialize(alt,bw);
|
StringUtil.Serialize(alt,bw);
|
||||||
ObjectUtils.SerializeObject(stickerset,bw);
|
ObjectUtils.SerializeObject(stickerset,bw);
|
||||||
|
if ((flags & 1) != 0)
|
||||||
|
ObjectUtils.SerializeObject(mask_coords,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
71
TeleSharp.TL/TL/TLGame.cs
Normal file
71
TeleSharp.TL/TL/TLGame.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
48
TeleSharp.TL/TL/TLHighScore.cs
Normal file
48
TeleSharp.TL/TL/TLHighScore.cs
Normal 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(1493171408)]
|
||||||
|
public class TLHighScore : TLObject
|
||||||
|
{
|
||||||
|
public override int Constructor
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return 1493171408;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int pos {get;set;}
|
||||||
|
public int user_id {get;set;}
|
||||||
|
public int score {get;set;}
|
||||||
|
|
||||||
|
|
||||||
|
public void ComputeFlags()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void DeserializeBody(BinaryReader br)
|
||||||
|
{
|
||||||
|
pos = br.ReadInt32();
|
||||||
|
user_id = br.ReadInt32();
|
||||||
|
score = br.ReadInt32();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
|
{
|
||||||
|
bw.Write(Constructor);
|
||||||
|
bw.Write(pos);
|
||||||
|
bw.Write(user_id);
|
||||||
|
bw.Write(score);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
53
TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs
Normal file
53
TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
48
TeleSharp.TL/TL/TLInputBotInlineResultGame.cs
Normal file
48
TeleSharp.TL/TL/TLInputBotInlineResultGame.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,19 +7,18 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-1293828344)]
|
[TLObject(-1991004873)]
|
||||||
public class TLInputChatPhoto : TLAbsInputChatPhoto
|
public class TLInputChatPhoto : TLAbsInputChatPhoto
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -1293828344;
|
return -1991004873;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public TLAbsInputPhoto id {get;set;}
|
public TLAbsInputPhoto id {get;set;}
|
||||||
public TLAbsInputPhotoCrop crop {get;set;}
|
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
|
|
@ -30,7 +29,6 @@ namespace TeleSharp.TL
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
|
id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
|
||||||
crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -38,7 +36,6 @@ crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
ObjectUtils.SerializeObject(id,bw);
|
ObjectUtils.SerializeObject(id,bw);
|
||||||
ObjectUtils.SerializeObject(crop,bw);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,19 +7,18 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-1809496270)]
|
[TLObject(-1837345356)]
|
||||||
public class TLInputChatUploadedPhoto : TLAbsInputChatPhoto
|
public class TLInputChatUploadedPhoto : TLAbsInputChatPhoto
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -1809496270;
|
return -1837345356;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public TLAbsInputFile file {get;set;}
|
public TLAbsInputFile file {get;set;}
|
||||||
public TLAbsInputPhotoCrop crop {get;set;}
|
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
|
|
@ -30,7 +29,6 @@ namespace TeleSharp.TL
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
||||||
crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -38,7 +36,6 @@ crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
ObjectUtils.SerializeObject(file,bw);
|
ObjectUtils.SerializeObject(file,bw);
|
||||||
ObjectUtils.SerializeObject(crop,bw);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,19 +7,20 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(1313188841)]
|
[TLObject(1125058340)]
|
||||||
public class TLInputDocumentFileLocation : TLAbsInputFileLocation
|
public class TLInputDocumentFileLocation : TLAbsInputFileLocation
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return 1313188841;
|
return 1125058340;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public long id {get;set;}
|
public long id {get;set;}
|
||||||
public long access_hash {get;set;}
|
public long access_hash {get;set;}
|
||||||
|
public int version {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
|
|
@ -31,6 +32,7 @@ namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
id = br.ReadInt64();
|
id = br.ReadInt64();
|
||||||
access_hash = br.ReadInt64();
|
access_hash = br.ReadInt64();
|
||||||
|
version = br.ReadInt32();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -39,6 +41,7 @@ access_hash = br.ReadInt64();
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
bw.Write(id);
|
bw.Write(id);
|
||||||
bw.Write(access_hash);
|
bw.Write(access_hash);
|
||||||
|
bw.Write(version);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
45
TeleSharp.TL/TL/TLInputGameID.cs
Normal file
45
TeleSharp.TL/TL/TLInputGameID.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
45
TeleSharp.TL/TL/TLInputGameShortName.cs
Normal file
45
TeleSharp.TL/TL/TLInputGameShortName.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
45
TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs
Normal file
45
TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
42
TeleSharp.TL/TL/TLInputMediaGame.cs
Normal file
42
TeleSharp.TL/TL/TLInputMediaGame.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
45
TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs
Normal file
45
TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,44 +7,58 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(495530093)]
|
[TLObject(-797904407)]
|
||||||
public class TLInputMediaUploadedDocument : TLAbsInputMedia
|
public class TLInputMediaUploadedDocument : TLAbsInputMedia
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return 495530093;
|
return -797904407;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
public TLAbsInputFile file {get;set;}
|
public TLAbsInputFile file {get;set;}
|
||||||
public string mime_type {get;set;}
|
public string mime_type {get;set;}
|
||||||
public TLVector<TLAbsDocumentAttribute> attributes {get;set;}
|
public TLVector<TLAbsDocumentAttribute> attributes {get;set;}
|
||||||
public string caption {get;set;}
|
public string caption {get;set;}
|
||||||
|
public TLVector<TLAbsInputDocument> stickers {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
|
flags = 0;
|
||||||
|
flags = stickers != null ? (flags | 1) : (flags & ~1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
||||||
mime_type = StringUtil.Deserialize(br);
|
mime_type = StringUtil.Deserialize(br);
|
||||||
attributes = (TLVector<TLAbsDocumentAttribute>)ObjectUtils.DeserializeVector<TLAbsDocumentAttribute>(br);
|
attributes = (TLVector<TLAbsDocumentAttribute>)ObjectUtils.DeserializeVector<TLAbsDocumentAttribute>(br);
|
||||||
caption = StringUtil.Deserialize(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)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
ObjectUtils.SerializeObject(file,bw);
|
ObjectUtils.SerializeObject(file,bw);
|
||||||
StringUtil.Serialize(mime_type,bw);
|
StringUtil.Serialize(mime_type,bw);
|
||||||
ObjectUtils.SerializeObject(attributes,bw);
|
ObjectUtils.SerializeObject(attributes,bw);
|
||||||
StringUtil.Serialize(caption,bw);
|
StringUtil.Serialize(caption,bw);
|
||||||
|
if ((flags & 1) != 0)
|
||||||
|
ObjectUtils.SerializeObject(stickers,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,38 +7,52 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-139464256)]
|
[TLObject(1661770481)]
|
||||||
public class TLInputMediaUploadedPhoto : TLAbsInputMedia
|
public class TLInputMediaUploadedPhoto : TLAbsInputMedia
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -139464256;
|
return 1661770481;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
public TLAbsInputFile file {get;set;}
|
public TLAbsInputFile file {get;set;}
|
||||||
public string caption {get;set;}
|
public string caption {get;set;}
|
||||||
|
public TLVector<TLAbsInputDocument> stickers {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
|
flags = 0;
|
||||||
|
flags = stickers != null ? (flags | 1) : (flags & ~1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
||||||
caption = StringUtil.Deserialize(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)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
ObjectUtils.SerializeObject(file,bw);
|
ObjectUtils.SerializeObject(file,bw);
|
||||||
StringUtil.Serialize(caption,bw);
|
StringUtil.Serialize(caption,bw);
|
||||||
|
if ((flags & 1) != 0)
|
||||||
|
ObjectUtils.SerializeObject(stickers,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,47 +7,61 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-1386138479)]
|
[TLObject(1356369070)]
|
||||||
public class TLInputMediaUploadedThumbDocument : TLAbsInputMedia
|
public class TLInputMediaUploadedThumbDocument : TLAbsInputMedia
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -1386138479;
|
return 1356369070;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
public TLAbsInputFile file {get;set;}
|
public TLAbsInputFile file {get;set;}
|
||||||
public TLAbsInputFile thumb {get;set;}
|
public TLAbsInputFile thumb {get;set;}
|
||||||
public string mime_type {get;set;}
|
public string mime_type {get;set;}
|
||||||
public TLVector<TLAbsDocumentAttribute> attributes {get;set;}
|
public TLVector<TLAbsDocumentAttribute> attributes {get;set;}
|
||||||
public string caption {get;set;}
|
public string caption {get;set;}
|
||||||
|
public TLVector<TLAbsInputDocument> stickers {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
|
flags = 0;
|
||||||
|
flags = stickers != null ? (flags | 1) : (flags & ~1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
||||||
thumb = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
thumb = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
||||||
mime_type = StringUtil.Deserialize(br);
|
mime_type = StringUtil.Deserialize(br);
|
||||||
attributes = (TLVector<TLAbsDocumentAttribute>)ObjectUtils.DeserializeVector<TLAbsDocumentAttribute>(br);
|
attributes = (TLVector<TLAbsDocumentAttribute>)ObjectUtils.DeserializeVector<TLAbsDocumentAttribute>(br);
|
||||||
caption = StringUtil.Deserialize(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)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
ObjectUtils.SerializeObject(file,bw);
|
ObjectUtils.SerializeObject(file,bw);
|
||||||
ObjectUtils.SerializeObject(thumb,bw);
|
ObjectUtils.SerializeObject(thumb,bw);
|
||||||
StringUtil.Serialize(mime_type,bw);
|
StringUtil.Serialize(mime_type,bw);
|
||||||
ObjectUtils.SerializeObject(attributes,bw);
|
ObjectUtils.SerializeObject(attributes,bw);
|
||||||
StringUtil.Serialize(caption,bw);
|
StringUtil.Serialize(caption,bw);
|
||||||
|
if ((flags & 1) != 0)
|
||||||
|
ObjectUtils.SerializeObject(stickers,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
42
TeleSharp.TL/TL/TLInputStickeredMediaDocument.cs
Normal file
42
TeleSharp.TL/TL/TLInputStickeredMediaDocument.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
42
TeleSharp.TL/TL/TLInputStickeredMediaPhoto.cs
Normal file
42
TeleSharp.TL/TL/TLInputStickeredMediaPhoto.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
42
TeleSharp.TL/TL/TLKeyboardButtonGame.cs
Normal file
42
TeleSharp.TL/TL/TLKeyboardButtonGame.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,28 +7,34 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-367298028)]
|
[TLObject(90744648)]
|
||||||
public class TLKeyboardButtonSwitchInline : TLAbsKeyboardButton
|
public class TLKeyboardButtonSwitchInline : TLAbsKeyboardButton
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -367298028;
|
return 90744648;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
|
public bool same_peer {get;set;}
|
||||||
public string text {get;set;}
|
public string text {get;set;}
|
||||||
public string query {get;set;}
|
public string query {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
|
flags = 0;
|
||||||
|
flags = same_peer ? (flags | 1) : (flags & ~1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
|
same_peer = (flags & 1) != 0;
|
||||||
text = StringUtil.Deserialize(br);
|
text = StringUtil.Deserialize(br);
|
||||||
query = StringUtil.Deserialize(br);
|
query = StringUtil.Deserialize(br);
|
||||||
|
|
||||||
|
|
@ -37,6 +43,9 @@ query = StringUtil.Deserialize(br);
|
||||||
public override void SerializeBody(BinaryWriter bw)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
|
|
||||||
StringUtil.Serialize(text,bw);
|
StringUtil.Serialize(text,bw);
|
||||||
StringUtil.Serialize(query,bw);
|
StringUtil.Serialize(query,bw);
|
||||||
|
|
||||||
|
|
|
||||||
51
TeleSharp.TL/TL/TLMaskCoords.cs
Normal file
51
TeleSharp.TL/TL/TLMaskCoords.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
45
TeleSharp.TL/TL/TLMessageActionGameScore.cs
Normal file
45
TeleSharp.TL/TL/TLMessageActionGameScore.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
42
TeleSharp.TL/TL/TLMessageMediaGame.cs
Normal file
42
TeleSharp.TL/TL/TLMessageMediaGame.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,17 +7,19 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-840088834)]
|
[TLObject(-1836524247)]
|
||||||
public class TLPhoto : TLAbsPhoto
|
public class TLPhoto : TLAbsPhoto
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -840088834;
|
return -1836524247;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
|
public bool has_stickers {get;set;}
|
||||||
public long id {get;set;}
|
public long id {get;set;}
|
||||||
public long access_hash {get;set;}
|
public long access_hash {get;set;}
|
||||||
public int date {get;set;}
|
public int date {get;set;}
|
||||||
|
|
@ -26,11 +28,15 @@ namespace TeleSharp.TL
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
|
flags = 0;
|
||||||
|
flags = has_stickers ? (flags | 1) : (flags & ~1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
|
has_stickers = (flags & 1) != 0;
|
||||||
id = br.ReadInt64();
|
id = br.ReadInt64();
|
||||||
access_hash = br.ReadInt64();
|
access_hash = br.ReadInt64();
|
||||||
date = br.ReadInt32();
|
date = br.ReadInt32();
|
||||||
|
|
@ -41,6 +47,9 @@ sizes = (TLVector<TLAbsPhotoSize>)ObjectUtils.DeserializeVector<TLAbsPhotoSize>(
|
||||||
public override void SerializeBody(BinaryWriter bw)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
|
|
||||||
bw.Write(id);
|
bw.Write(id);
|
||||||
bw.Write(access_hash);
|
bw.Write(access_hash);
|
||||||
bw.Write(date);
|
bw.Write(date);
|
||||||
|
|
|
||||||
39
TeleSharp.TL/TL/TLSendMessageGamePlayAction.cs
Normal file
39
TeleSharp.TL/TL/TLSendMessageGamePlayAction.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -20,8 +20,9 @@ namespace TeleSharp.TL
|
||||||
|
|
||||||
public int flags {get;set;}
|
public int flags {get;set;}
|
||||||
public bool installed {get;set;}
|
public bool installed {get;set;}
|
||||||
public bool disabled {get;set;}
|
public bool archived {get;set;}
|
||||||
public bool official {get;set;}
|
public bool official {get;set;}
|
||||||
|
public bool masks {get;set;}
|
||||||
public long id {get;set;}
|
public long id {get;set;}
|
||||||
public long access_hash {get;set;}
|
public long access_hash {get;set;}
|
||||||
public string title {get;set;}
|
public string title {get;set;}
|
||||||
|
|
@ -34,8 +35,9 @@ namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
flags = 0;
|
flags = 0;
|
||||||
flags = installed ? (flags | 1) : (flags & ~1);
|
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 = official ? (flags | 4) : (flags & ~4);
|
||||||
|
flags = masks ? (flags | 8) : (flags & ~8);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -43,8 +45,9 @@ flags = official ? (flags | 4) : (flags & ~4);
|
||||||
{
|
{
|
||||||
flags = br.ReadInt32();
|
flags = br.ReadInt32();
|
||||||
installed = (flags & 1) != 0;
|
installed = (flags & 1) != 0;
|
||||||
disabled = (flags & 2) != 0;
|
archived = (flags & 2) != 0;
|
||||||
official = (flags & 4) != 0;
|
official = (flags & 4) != 0;
|
||||||
|
masks = (flags & 8) != 0;
|
||||||
id = br.ReadInt64();
|
id = br.ReadInt64();
|
||||||
access_hash = br.ReadInt64();
|
access_hash = br.ReadInt64();
|
||||||
title = StringUtil.Deserialize(br);
|
title = StringUtil.Deserialize(br);
|
||||||
|
|
@ -62,6 +65,7 @@ bw.Write(flags);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bw.Write(id);
|
bw.Write(id);
|
||||||
bw.Write(access_hash);
|
bw.Write(access_hash);
|
||||||
StringUtil.Serialize(title,bw);
|
StringUtil.Serialize(title,bw);
|
||||||
|
|
|
||||||
45
TeleSharp.TL/TL/TLStickerSetCovered.cs
Normal file
45
TeleSharp.TL/TL/TLStickerSetCovered.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
45
TeleSharp.TL/TL/TLStickerSetMultiCovered.cs
Normal file
45
TeleSharp.TL/TL/TLStickerSetMultiCovered.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,47 +7,70 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-1500747636)]
|
[TLObject(-415938591)]
|
||||||
public class TLUpdateBotCallbackQuery : TLAbsUpdate
|
public class TLUpdateBotCallbackQuery : TLAbsUpdate
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -1500747636;
|
return -415938591;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
public long query_id {get;set;}
|
public long query_id {get;set;}
|
||||||
public int user_id {get;set;}
|
public int user_id {get;set;}
|
||||||
public TLAbsPeer peer {get;set;}
|
public TLAbsPeer peer {get;set;}
|
||||||
public int msg_id {get;set;}
|
public int msg_id {get;set;}
|
||||||
|
public long chat_instance {get;set;}
|
||||||
public byte[] data {get;set;}
|
public byte[] data {get;set;}
|
||||||
|
public string game_short_name {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
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)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
query_id = br.ReadInt64();
|
query_id = br.ReadInt64();
|
||||||
user_id = br.ReadInt32();
|
user_id = br.ReadInt32();
|
||||||
peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br);
|
peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br);
|
||||||
msg_id = br.ReadInt32();
|
msg_id = br.ReadInt32();
|
||||||
|
chat_instance = br.ReadInt64();
|
||||||
|
if ((flags & 1) != 0)
|
||||||
data = BytesUtil.Deserialize(br);
|
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)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
bw.Write(query_id);
|
bw.Write(query_id);
|
||||||
bw.Write(user_id);
|
bw.Write(user_id);
|
||||||
ObjectUtils.SerializeObject(peer,bw);
|
ObjectUtils.SerializeObject(peer,bw);
|
||||||
bw.Write(msg_id);
|
bw.Write(msg_id);
|
||||||
|
bw.Write(chat_instance);
|
||||||
|
if ((flags & 1) != 0)
|
||||||
BytesUtil.Serialize(data,bw);
|
BytesUtil.Serialize(data,bw);
|
||||||
|
if ((flags & 2) != 0)
|
||||||
|
StringUtil.Serialize(game_short_name,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
39
TeleSharp.TL/TL/TLUpdateConfig.cs
Normal file
39
TeleSharp.TL/TL/TLUpdateConfig.cs
Normal 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(-1574314746)]
|
||||||
|
public class TLUpdateConfig : TLAbsUpdate
|
||||||
|
{
|
||||||
|
public override int Constructor
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return -1574314746;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void ComputeFlags()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void DeserializeBody(BinaryReader br)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
|
{
|
||||||
|
bw.Write(Constructor);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,44 +7,67 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(750622127)]
|
[TLObject(-103646630)]
|
||||||
public class TLUpdateInlineBotCallbackQuery : TLAbsUpdate
|
public class TLUpdateInlineBotCallbackQuery : TLAbsUpdate
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return 750622127;
|
return -103646630;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
public long query_id {get;set;}
|
public long query_id {get;set;}
|
||||||
public int user_id {get;set;}
|
public int user_id {get;set;}
|
||||||
public TLInputBotInlineMessageID msg_id {get;set;}
|
public TLInputBotInlineMessageID msg_id {get;set;}
|
||||||
|
public long chat_instance {get;set;}
|
||||||
public byte[] data {get;set;}
|
public byte[] data {get;set;}
|
||||||
|
public string game_short_name {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
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)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
query_id = br.ReadInt64();
|
query_id = br.ReadInt64();
|
||||||
user_id = br.ReadInt32();
|
user_id = br.ReadInt32();
|
||||||
msg_id = (TLInputBotInlineMessageID)ObjectUtils.DeserializeObject(br);
|
msg_id = (TLInputBotInlineMessageID)ObjectUtils.DeserializeObject(br);
|
||||||
|
chat_instance = br.ReadInt64();
|
||||||
|
if ((flags & 1) != 0)
|
||||||
data = BytesUtil.Deserialize(br);
|
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)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
bw.Write(query_id);
|
bw.Write(query_id);
|
||||||
bw.Write(user_id);
|
bw.Write(user_id);
|
||||||
ObjectUtils.SerializeObject(msg_id,bw);
|
ObjectUtils.SerializeObject(msg_id,bw);
|
||||||
|
bw.Write(chat_instance);
|
||||||
|
if ((flags & 1) != 0)
|
||||||
BytesUtil.Serialize(data,bw);
|
BytesUtil.Serialize(data,bw);
|
||||||
|
if ((flags & 2) != 0)
|
||||||
|
StringUtil.Serialize(game_short_name,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
39
TeleSharp.TL/TL/TLUpdatePtsChanged.cs
Normal file
39
TeleSharp.TL/TL/TLUpdatePtsChanged.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
39
TeleSharp.TL/TL/TLUpdateReadFeaturedStickers.cs
Normal file
39
TeleSharp.TL/TL/TLUpdateReadFeaturedStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
39
TeleSharp.TL/TL/TLUpdateRecentStickers.cs
Normal file
39
TeleSharp.TL/TL/TLUpdateRecentStickers.cs
Normal 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);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,27 +7,33 @@ using System.Threading.Tasks;
|
||||||
using TeleSharp.TL;
|
using TeleSharp.TL;
|
||||||
namespace TeleSharp.TL
|
namespace TeleSharp.TL
|
||||||
{
|
{
|
||||||
[TLObject(-253774767)]
|
[TLObject(196268545)]
|
||||||
public class TLUpdateStickerSetsOrder : TLAbsUpdate
|
public class TLUpdateStickerSetsOrder : TLAbsUpdate
|
||||||
{
|
{
|
||||||
public override int Constructor
|
public override int Constructor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return -253774767;
|
return 196268545;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int flags {get;set;}
|
||||||
|
public bool masks {get;set;}
|
||||||
public TLVector<long> order {get;set;}
|
public TLVector<long> order {get;set;}
|
||||||
|
|
||||||
|
|
||||||
public void ComputeFlags()
|
public void ComputeFlags()
|
||||||
{
|
{
|
||||||
|
flags = 0;
|
||||||
|
flags = masks ? (flags | 1) : (flags & ~1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DeserializeBody(BinaryReader br)
|
public override void DeserializeBody(BinaryReader br)
|
||||||
{
|
{
|
||||||
|
flags = br.ReadInt32();
|
||||||
|
masks = (flags & 1) != 0;
|
||||||
order = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
|
order = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -35,6 +41,9 @@ namespace TeleSharp.TL
|
||||||
public override void SerializeBody(BinaryWriter bw)
|
public override void SerializeBody(BinaryWriter bw)
|
||||||
{
|
{
|
||||||
bw.Write(Constructor);
|
bw.Write(Constructor);
|
||||||
|
ComputeFlags();
|
||||||
|
bw.Write(flags);
|
||||||
|
|
||||||
ObjectUtils.SerializeObject(order,bw);
|
ObjectUtils.SerializeObject(order,bw);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@
|
||||||
<Compile Include="TL\Account\TLPrivacyRules.cs" />
|
<Compile Include="TL\Account\TLPrivacyRules.cs" />
|
||||||
<Compile Include="TL\Account\TLRequestChangePhone.cs" />
|
<Compile Include="TL\Account\TLRequestChangePhone.cs" />
|
||||||
<Compile Include="TL\Account\TLRequestCheckUsername.cs" />
|
<Compile Include="TL\Account\TLRequestCheckUsername.cs" />
|
||||||
|
<Compile Include="TL\Account\TLRequestConfirmPhone.cs" />
|
||||||
<Compile Include="TL\Account\TLRequestDeleteAccount.cs" />
|
<Compile Include="TL\Account\TLRequestDeleteAccount.cs" />
|
||||||
<Compile Include="TL\Account\TLRequestGetAccountTTL.cs" />
|
<Compile Include="TL\Account\TLRequestGetAccountTTL.cs" />
|
||||||
<Compile Include="TL\Account\TLRequestGetAuthorizations.cs" />
|
<Compile Include="TL\Account\TLRequestGetAuthorizations.cs" />
|
||||||
|
|
@ -73,6 +74,7 @@
|
||||||
<Compile Include="TL\Account\TLRequestResetAuthorization.cs" />
|
<Compile Include="TL\Account\TLRequestResetAuthorization.cs" />
|
||||||
<Compile Include="TL\Account\TLRequestResetNotifySettings.cs" />
|
<Compile Include="TL\Account\TLRequestResetNotifySettings.cs" />
|
||||||
<Compile Include="TL\Account\TLRequestSendChangePhoneCode.cs" />
|
<Compile Include="TL\Account\TLRequestSendChangePhoneCode.cs" />
|
||||||
|
<Compile Include="TL\Account\TLRequestSendConfirmPhoneCode.cs" />
|
||||||
<Compile Include="TL\Account\TLRequestSetAccountTTL.cs" />
|
<Compile Include="TL\Account\TLRequestSetAccountTTL.cs" />
|
||||||
<Compile Include="TL\Account\TLRequestSetPrivacy.cs" />
|
<Compile Include="TL\Account\TLRequestSetPrivacy.cs" />
|
||||||
<Compile Include="TL\Account\TLRequestUnregisterDevice.cs" />
|
<Compile Include="TL\Account\TLRequestUnregisterDevice.cs" />
|
||||||
|
|
@ -95,6 +97,7 @@
|
||||||
<Compile Include="TL\Auth\TLRequestCancelCode.cs" />
|
<Compile Include="TL\Auth\TLRequestCancelCode.cs" />
|
||||||
<Compile Include="TL\Auth\TLRequestCheckPassword.cs" />
|
<Compile Include="TL\Auth\TLRequestCheckPassword.cs" />
|
||||||
<Compile Include="TL\Auth\TLRequestCheckPhone.cs" />
|
<Compile Include="TL\Auth\TLRequestCheckPhone.cs" />
|
||||||
|
<Compile Include="TL\Auth\TLRequestDropTempAuthKeys.cs" />
|
||||||
<Compile Include="TL\Auth\TLRequestExportAuthorization.cs" />
|
<Compile Include="TL\Auth\TLRequestExportAuthorization.cs" />
|
||||||
<Compile Include="TL\Auth\TLRequestImportAuthorization.cs" />
|
<Compile Include="TL\Auth\TLRequestImportAuthorization.cs" />
|
||||||
<Compile Include="TL\Auth\TLRequestImportBotAuthorization.cs" />
|
<Compile Include="TL\Auth\TLRequestImportBotAuthorization.cs" />
|
||||||
|
|
@ -125,6 +128,7 @@
|
||||||
<Compile Include="TL\Channels\TLRequestEditTitle.cs" />
|
<Compile Include="TL\Channels\TLRequestEditTitle.cs" />
|
||||||
<Compile Include="TL\Channels\TLRequestExportInvite.cs" />
|
<Compile Include="TL\Channels\TLRequestExportInvite.cs" />
|
||||||
<Compile Include="TL\Channels\TLRequestExportMessageLink.cs" />
|
<Compile Include="TL\Channels\TLRequestExportMessageLink.cs" />
|
||||||
|
<Compile Include="TL\Channels\TLRequestGetAdminedPublicChannels.cs" />
|
||||||
<Compile Include="TL\Channels\TLRequestGetChannels.cs" />
|
<Compile Include="TL\Channels\TLRequestGetChannels.cs" />
|
||||||
<Compile Include="TL\Channels\TLRequestGetFullChannel.cs" />
|
<Compile Include="TL\Channels\TLRequestGetFullChannel.cs" />
|
||||||
<Compile Include="TL\Channels\TLRequestGetMessages.cs" />
|
<Compile Include="TL\Channels\TLRequestGetMessages.cs" />
|
||||||
|
|
@ -187,14 +191,18 @@
|
||||||
<Compile Include="TL\Messages\TLAbsAllStickers.cs" />
|
<Compile Include="TL\Messages\TLAbsAllStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLAbsDhConfig.cs" />
|
<Compile Include="TL\Messages\TLAbsDhConfig.cs" />
|
||||||
<Compile Include="TL\Messages\TLAbsDialogs.cs" />
|
<Compile Include="TL\Messages\TLAbsDialogs.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLAbsFeaturedStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLAbsMessages.cs" />
|
<Compile Include="TL\Messages\TLAbsMessages.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLAbsRecentStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLAbsSavedGifs.cs" />
|
<Compile Include="TL\Messages\TLAbsSavedGifs.cs" />
|
||||||
<Compile Include="TL\Messages\TLAbsSentEncryptedMessage.cs" />
|
<Compile Include="TL\Messages\TLAbsSentEncryptedMessage.cs" />
|
||||||
<Compile Include="TL\Messages\TLAbsStickers.cs" />
|
<Compile Include="TL\Messages\TLAbsStickers.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLAbsStickerSetInstallResult.cs" />
|
||||||
<Compile Include="TL\Messages\TLAffectedHistory.cs" />
|
<Compile Include="TL\Messages\TLAffectedHistory.cs" />
|
||||||
<Compile Include="TL\Messages\TLAffectedMessages.cs" />
|
<Compile Include="TL\Messages\TLAffectedMessages.cs" />
|
||||||
<Compile Include="TL\Messages\TLAllStickers.cs" />
|
<Compile Include="TL\Messages\TLAllStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLAllStickersNotModified.cs" />
|
<Compile Include="TL\Messages\TLAllStickersNotModified.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLArchivedStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLBotCallbackAnswer.cs" />
|
<Compile Include="TL\Messages\TLBotCallbackAnswer.cs" />
|
||||||
<Compile Include="TL\Messages\TLBotResults.cs" />
|
<Compile Include="TL\Messages\TLBotResults.cs" />
|
||||||
<Compile Include="TL\Messages\TLChannelMessages.cs" />
|
<Compile Include="TL\Messages\TLChannelMessages.cs" />
|
||||||
|
|
@ -204,14 +212,20 @@
|
||||||
<Compile Include="TL\Messages\TLDhConfigNotModified.cs" />
|
<Compile Include="TL\Messages\TLDhConfigNotModified.cs" />
|
||||||
<Compile Include="TL\Messages\TLDialogs.cs" />
|
<Compile Include="TL\Messages\TLDialogs.cs" />
|
||||||
<Compile Include="TL\Messages\TLDialogsSlice.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\TLFoundGifs.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLHighScores.cs" />
|
||||||
<Compile Include="TL\Messages\TLMessageEditData.cs" />
|
<Compile Include="TL\Messages\TLMessageEditData.cs" />
|
||||||
<Compile Include="TL\Messages\TLMessages.cs" />
|
<Compile Include="TL\Messages\TLMessages.cs" />
|
||||||
<Compile Include="TL\Messages\TLMessagesSlice.cs" />
|
<Compile Include="TL\Messages\TLMessagesSlice.cs" />
|
||||||
<Compile Include="TL\Messages\TLPeerDialogs.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\TLRequestAcceptEncryption.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestAddChatUser.cs" />
|
<Compile Include="TL\Messages\TLRequestAddChatUser.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestCheckChatInvite.cs" />
|
<Compile Include="TL\Messages\TLRequestCheckChatInvite.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLRequestClearRecentStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestCreateChat.cs" />
|
<Compile Include="TL\Messages\TLRequestCreateChat.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestDeleteChatUser.cs" />
|
<Compile Include="TL\Messages\TLRequestDeleteChatUser.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestDeleteHistory.cs" />
|
<Compile Include="TL\Messages\TLRequestDeleteHistory.cs" />
|
||||||
|
|
@ -227,19 +241,26 @@
|
||||||
<Compile Include="TL\Messages\TLRequestForwardMessages.cs" />
|
<Compile Include="TL\Messages\TLRequestForwardMessages.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetAllDrafts.cs" />
|
<Compile Include="TL\Messages\TLRequestGetAllDrafts.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetAllStickers.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\TLRequestGetBotCallbackAnswer.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetChats.cs" />
|
<Compile Include="TL\Messages\TLRequestGetChats.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetDhConfig.cs" />
|
<Compile Include="TL\Messages\TLRequestGetDhConfig.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetDialogs.cs" />
|
<Compile Include="TL\Messages\TLRequestGetDialogs.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetDocumentByHash.cs" />
|
<Compile Include="TL\Messages\TLRequestGetDocumentByHash.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLRequestGetFeaturedStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetFullChat.cs" />
|
<Compile Include="TL\Messages\TLRequestGetFullChat.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLRequestGetGameHighScores.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetHistory.cs" />
|
<Compile Include="TL\Messages\TLRequestGetHistory.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetInlineBotResults.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\TLRequestGetMessageEditData.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetMessages.cs" />
|
<Compile Include="TL\Messages\TLRequestGetMessages.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetMessagesViews.cs" />
|
<Compile Include="TL\Messages\TLRequestGetMessagesViews.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetPeerDialogs.cs" />
|
<Compile Include="TL\Messages\TLRequestGetPeerDialogs.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetPeerSettings.cs" />
|
<Compile Include="TL\Messages\TLRequestGetPeerSettings.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLRequestGetRecentStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetSavedGifs.cs" />
|
<Compile Include="TL\Messages\TLRequestGetSavedGifs.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetStickers.cs" />
|
<Compile Include="TL\Messages\TLRequestGetStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestGetStickerSet.cs" />
|
<Compile Include="TL\Messages\TLRequestGetStickerSet.cs" />
|
||||||
|
|
@ -249,6 +270,7 @@
|
||||||
<Compile Include="TL\Messages\TLRequestInstallStickerSet.cs" />
|
<Compile Include="TL\Messages\TLRequestInstallStickerSet.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestMigrateChat.cs" />
|
<Compile Include="TL\Messages\TLRequestMigrateChat.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestReadEncryptedHistory.cs" />
|
<Compile Include="TL\Messages\TLRequestReadEncryptedHistory.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLRequestReadFeaturedStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestReadHistory.cs" />
|
<Compile Include="TL\Messages\TLRequestReadHistory.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestReadMessageContents.cs" />
|
<Compile Include="TL\Messages\TLRequestReadMessageContents.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestReceivedMessages.cs" />
|
<Compile Include="TL\Messages\TLRequestReceivedMessages.cs" />
|
||||||
|
|
@ -258,6 +280,7 @@
|
||||||
<Compile Include="TL\Messages\TLRequestRequestEncryption.cs" />
|
<Compile Include="TL\Messages\TLRequestRequestEncryption.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestSaveDraft.cs" />
|
<Compile Include="TL\Messages\TLRequestSaveDraft.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestSaveGif.cs" />
|
<Compile Include="TL\Messages\TLRequestSaveGif.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLRequestSaveRecentSticker.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestSearch.cs" />
|
<Compile Include="TL\Messages\TLRequestSearch.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestSearchGifs.cs" />
|
<Compile Include="TL\Messages\TLRequestSearchGifs.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestSearchGlobal.cs" />
|
<Compile Include="TL\Messages\TLRequestSearchGlobal.cs" />
|
||||||
|
|
@ -270,7 +293,9 @@
|
||||||
<Compile Include="TL\Messages\TLRequestSendMessage.cs" />
|
<Compile Include="TL\Messages\TLRequestSendMessage.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestSetBotCallbackAnswer.cs" />
|
<Compile Include="TL\Messages\TLRequestSetBotCallbackAnswer.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestSetEncryptedTyping.cs" />
|
<Compile Include="TL\Messages\TLRequestSetEncryptedTyping.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLRequestSetGameScore.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestSetInlineBotResults.cs" />
|
<Compile Include="TL\Messages\TLRequestSetInlineBotResults.cs" />
|
||||||
|
<Compile Include="TL\Messages\TLRequestSetInlineGameScore.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestSetTyping.cs" />
|
<Compile Include="TL\Messages\TLRequestSetTyping.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestStartBot.cs" />
|
<Compile Include="TL\Messages\TLRequestStartBot.cs" />
|
||||||
<Compile Include="TL\Messages\TLRequestToggleChatAdmins.cs" />
|
<Compile Include="TL\Messages\TLRequestToggleChatAdmins.cs" />
|
||||||
|
|
@ -281,6 +306,8 @@
|
||||||
<Compile Include="TL\Messages\TLSentEncryptedMessage.cs" />
|
<Compile Include="TL\Messages\TLSentEncryptedMessage.cs" />
|
||||||
<Compile Include="TL\Messages\TLStickers.cs" />
|
<Compile Include="TL\Messages\TLStickers.cs" />
|
||||||
<Compile Include="TL\Messages\TLStickerSet.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\Messages\TLStickersNotModified.cs" />
|
||||||
<Compile Include="TL\Photos\TLAbsPhotos.cs" />
|
<Compile Include="TL\Photos\TLAbsPhotos.cs" />
|
||||||
<Compile Include="TL\Photos\TLPhoto.cs" />
|
<Compile Include="TL\Photos\TLPhoto.cs" />
|
||||||
|
|
@ -333,6 +360,7 @@
|
||||||
<Compile Include="TL\TLAbsInputEncryptedFile.cs" />
|
<Compile Include="TL\TLAbsInputEncryptedFile.cs" />
|
||||||
<Compile Include="TL\TLAbsInputFile.cs" />
|
<Compile Include="TL\TLAbsInputFile.cs" />
|
||||||
<Compile Include="TL\TLAbsInputFileLocation.cs" />
|
<Compile Include="TL\TLAbsInputFileLocation.cs" />
|
||||||
|
<Compile Include="TL\TLAbsInputGame.cs" />
|
||||||
<Compile Include="TL\TLAbsInputGeoPoint.cs" />
|
<Compile Include="TL\TLAbsInputGeoPoint.cs" />
|
||||||
<Compile Include="TL\TLAbsInputMedia.cs" />
|
<Compile Include="TL\TLAbsInputMedia.cs" />
|
||||||
<Compile Include="TL\TLAbsInputNotifyPeer.cs" />
|
<Compile Include="TL\TLAbsInputNotifyPeer.cs" />
|
||||||
|
|
@ -342,6 +370,7 @@
|
||||||
<Compile Include="TL\TLAbsInputPhotoCrop.cs" />
|
<Compile Include="TL\TLAbsInputPhotoCrop.cs" />
|
||||||
<Compile Include="TL\TLAbsInputPrivacyKey.cs" />
|
<Compile Include="TL\TLAbsInputPrivacyKey.cs" />
|
||||||
<Compile Include="TL\TLAbsInputPrivacyRule.cs" />
|
<Compile Include="TL\TLAbsInputPrivacyRule.cs" />
|
||||||
|
<Compile Include="TL\TLAbsInputStickeredMedia.cs" />
|
||||||
<Compile Include="TL\TLAbsInputStickerSet.cs" />
|
<Compile Include="TL\TLAbsInputStickerSet.cs" />
|
||||||
<Compile Include="TL\TLAbsInputUser.cs" />
|
<Compile Include="TL\TLAbsInputUser.cs" />
|
||||||
<Compile Include="TL\TLAbsKeyboardButton.cs" />
|
<Compile Include="TL\TLAbsKeyboardButton.cs" />
|
||||||
|
|
@ -361,6 +390,7 @@
|
||||||
<Compile Include="TL\TLAbsReplyMarkup.cs" />
|
<Compile Include="TL\TLAbsReplyMarkup.cs" />
|
||||||
<Compile Include="TL\TLAbsReportReason.cs" />
|
<Compile Include="TL\TLAbsReportReason.cs" />
|
||||||
<Compile Include="TL\TLAbsSendMessageAction.cs" />
|
<Compile Include="TL\TLAbsSendMessageAction.cs" />
|
||||||
|
<Compile Include="TL\TLAbsStickerSetCovered.cs" />
|
||||||
<Compile Include="TL\TLAbsTopPeerCategory.cs" />
|
<Compile Include="TL\TLAbsTopPeerCategory.cs" />
|
||||||
<Compile Include="TL\TLAbsUpdate.cs" />
|
<Compile Include="TL\TLAbsUpdate.cs" />
|
||||||
<Compile Include="TL\TLAbsUpdates.cs" />
|
<Compile Include="TL\TLAbsUpdates.cs" />
|
||||||
|
|
@ -430,6 +460,7 @@
|
||||||
<Compile Include="TL\TLDocumentAttributeAnimated.cs" />
|
<Compile Include="TL\TLDocumentAttributeAnimated.cs" />
|
||||||
<Compile Include="TL\TLDocumentAttributeAudio.cs" />
|
<Compile Include="TL\TLDocumentAttributeAudio.cs" />
|
||||||
<Compile Include="TL\TLDocumentAttributeFilename.cs" />
|
<Compile Include="TL\TLDocumentAttributeFilename.cs" />
|
||||||
|
<Compile Include="TL\TLDocumentAttributeHasStickers.cs" />
|
||||||
<Compile Include="TL\TLDocumentAttributeImageSize.cs" />
|
<Compile Include="TL\TLDocumentAttributeImageSize.cs" />
|
||||||
<Compile Include="TL\TLDocumentAttributeSticker.cs" />
|
<Compile Include="TL\TLDocumentAttributeSticker.cs" />
|
||||||
<Compile Include="TL\TLDocumentAttributeVideo.cs" />
|
<Compile Include="TL\TLDocumentAttributeVideo.cs" />
|
||||||
|
|
@ -451,11 +482,14 @@
|
||||||
<Compile Include="TL\TLFileLocationUnavailable.cs" />
|
<Compile Include="TL\TLFileLocationUnavailable.cs" />
|
||||||
<Compile Include="TL\TLFoundGif.cs" />
|
<Compile Include="TL\TLFoundGif.cs" />
|
||||||
<Compile Include="TL\TLFoundGifCached.cs" />
|
<Compile Include="TL\TLFoundGifCached.cs" />
|
||||||
|
<Compile Include="TL\TLGame.cs" />
|
||||||
<Compile Include="TL\TLGeoPoint.cs" />
|
<Compile Include="TL\TLGeoPoint.cs" />
|
||||||
<Compile Include="TL\TLGeoPointEmpty.cs" />
|
<Compile Include="TL\TLGeoPointEmpty.cs" />
|
||||||
|
<Compile Include="TL\TLHighScore.cs" />
|
||||||
<Compile Include="TL\TLImportedContact.cs" />
|
<Compile Include="TL\TLImportedContact.cs" />
|
||||||
<Compile Include="TL\TLInlineBotSwitchPM.cs" />
|
<Compile Include="TL\TLInlineBotSwitchPM.cs" />
|
||||||
<Compile Include="TL\TLInputAppEvent.cs" />
|
<Compile Include="TL\TLInputAppEvent.cs" />
|
||||||
|
<Compile Include="TL\TLInputBotInlineMessageGame.cs" />
|
||||||
<Compile Include="TL\TLInputBotInlineMessageID.cs" />
|
<Compile Include="TL\TLInputBotInlineMessageID.cs" />
|
||||||
<Compile Include="TL\TLInputBotInlineMessageMediaAuto.cs" />
|
<Compile Include="TL\TLInputBotInlineMessageMediaAuto.cs" />
|
||||||
<Compile Include="TL\TLInputBotInlineMessageMediaContact.cs" />
|
<Compile Include="TL\TLInputBotInlineMessageMediaContact.cs" />
|
||||||
|
|
@ -464,6 +498,7 @@
|
||||||
<Compile Include="TL\TLInputBotInlineMessageText.cs" />
|
<Compile Include="TL\TLInputBotInlineMessageText.cs" />
|
||||||
<Compile Include="TL\TLInputBotInlineResult.cs" />
|
<Compile Include="TL\TLInputBotInlineResult.cs" />
|
||||||
<Compile Include="TL\TLInputBotInlineResultDocument.cs" />
|
<Compile Include="TL\TLInputBotInlineResultDocument.cs" />
|
||||||
|
<Compile Include="TL\TLInputBotInlineResultGame.cs" />
|
||||||
<Compile Include="TL\TLInputBotInlineResultPhoto.cs" />
|
<Compile Include="TL\TLInputBotInlineResultPhoto.cs" />
|
||||||
<Compile Include="TL\TLInputChannel.cs" />
|
<Compile Include="TL\TLInputChannel.cs" />
|
||||||
<Compile Include="TL\TLInputChannelEmpty.cs" />
|
<Compile Include="TL\TLInputChannelEmpty.cs" />
|
||||||
|
|
@ -482,14 +517,19 @@
|
||||||
<Compile Include="TL\TLInputFile.cs" />
|
<Compile Include="TL\TLInputFile.cs" />
|
||||||
<Compile Include="TL\TLInputFileBig.cs" />
|
<Compile Include="TL\TLInputFileBig.cs" />
|
||||||
<Compile Include="TL\TLInputFileLocation.cs" />
|
<Compile Include="TL\TLInputFileLocation.cs" />
|
||||||
|
<Compile Include="TL\TLInputGameID.cs" />
|
||||||
|
<Compile Include="TL\TLInputGameShortName.cs" />
|
||||||
<Compile Include="TL\TLInputGeoPoint.cs" />
|
<Compile Include="TL\TLInputGeoPoint.cs" />
|
||||||
<Compile Include="TL\TLInputGeoPointEmpty.cs" />
|
<Compile Include="TL\TLInputGeoPointEmpty.cs" />
|
||||||
<Compile Include="TL\TLInputMediaContact.cs" />
|
<Compile Include="TL\TLInputMediaContact.cs" />
|
||||||
<Compile Include="TL\TLInputMediaDocument.cs" />
|
<Compile Include="TL\TLInputMediaDocument.cs" />
|
||||||
|
<Compile Include="TL\TLInputMediaDocumentExternal.cs" />
|
||||||
<Compile Include="TL\TLInputMediaEmpty.cs" />
|
<Compile Include="TL\TLInputMediaEmpty.cs" />
|
||||||
|
<Compile Include="TL\TLInputMediaGame.cs" />
|
||||||
<Compile Include="TL\TLInputMediaGeoPoint.cs" />
|
<Compile Include="TL\TLInputMediaGeoPoint.cs" />
|
||||||
<Compile Include="TL\TLInputMediaGifExternal.cs" />
|
<Compile Include="TL\TLInputMediaGifExternal.cs" />
|
||||||
<Compile Include="TL\TLInputMediaPhoto.cs" />
|
<Compile Include="TL\TLInputMediaPhoto.cs" />
|
||||||
|
<Compile Include="TL\TLInputMediaPhotoExternal.cs" />
|
||||||
<Compile Include="TL\TLInputMediaUploadedDocument.cs" />
|
<Compile Include="TL\TLInputMediaUploadedDocument.cs" />
|
||||||
<Compile Include="TL\TLInputMediaUploadedPhoto.cs" />
|
<Compile Include="TL\TLInputMediaUploadedPhoto.cs" />
|
||||||
<Compile Include="TL\TLInputMediaUploadedThumbDocument.cs" />
|
<Compile Include="TL\TLInputMediaUploadedThumbDocument.cs" />
|
||||||
|
|
@ -535,6 +575,8 @@
|
||||||
<Compile Include="TL\TLInputReportReasonPornography.cs" />
|
<Compile Include="TL\TLInputReportReasonPornography.cs" />
|
||||||
<Compile Include="TL\TLInputReportReasonSpam.cs" />
|
<Compile Include="TL\TLInputReportReasonSpam.cs" />
|
||||||
<Compile Include="TL\TLInputReportReasonViolence.cs" />
|
<Compile Include="TL\TLInputReportReasonViolence.cs" />
|
||||||
|
<Compile Include="TL\TLInputStickeredMediaDocument.cs" />
|
||||||
|
<Compile Include="TL\TLInputStickeredMediaPhoto.cs" />
|
||||||
<Compile Include="TL\TLInputStickerSetEmpty.cs" />
|
<Compile Include="TL\TLInputStickerSetEmpty.cs" />
|
||||||
<Compile Include="TL\TLInputStickerSetID.cs" />
|
<Compile Include="TL\TLInputStickerSetID.cs" />
|
||||||
<Compile Include="TL\TLInputStickerSetShortName.cs" />
|
<Compile Include="TL\TLInputStickerSetShortName.cs" />
|
||||||
|
|
@ -543,11 +585,13 @@
|
||||||
<Compile Include="TL\TLInputUserSelf.cs" />
|
<Compile Include="TL\TLInputUserSelf.cs" />
|
||||||
<Compile Include="TL\TLKeyboardButton.cs" />
|
<Compile Include="TL\TLKeyboardButton.cs" />
|
||||||
<Compile Include="TL\TLKeyboardButtonCallback.cs" />
|
<Compile Include="TL\TLKeyboardButtonCallback.cs" />
|
||||||
|
<Compile Include="TL\TLKeyboardButtonGame.cs" />
|
||||||
<Compile Include="TL\TLKeyboardButtonRequestGeoLocation.cs" />
|
<Compile Include="TL\TLKeyboardButtonRequestGeoLocation.cs" />
|
||||||
<Compile Include="TL\TLKeyboardButtonRequestPhone.cs" />
|
<Compile Include="TL\TLKeyboardButtonRequestPhone.cs" />
|
||||||
<Compile Include="TL\TLKeyboardButtonRow.cs" />
|
<Compile Include="TL\TLKeyboardButtonRow.cs" />
|
||||||
<Compile Include="TL\TLKeyboardButtonSwitchInline.cs" />
|
<Compile Include="TL\TLKeyboardButtonSwitchInline.cs" />
|
||||||
<Compile Include="TL\TLKeyboardButtonUrl.cs" />
|
<Compile Include="TL\TLKeyboardButtonUrl.cs" />
|
||||||
|
<Compile Include="TL\TLMaskCoords.cs" />
|
||||||
<Compile Include="TL\TLMessage.cs" />
|
<Compile Include="TL\TLMessage.cs" />
|
||||||
<Compile Include="TL\TLMessageActionChannelCreate.cs" />
|
<Compile Include="TL\TLMessageActionChannelCreate.cs" />
|
||||||
<Compile Include="TL\TLMessageActionChannelMigrateFrom.cs" />
|
<Compile Include="TL\TLMessageActionChannelMigrateFrom.cs" />
|
||||||
|
|
@ -560,6 +604,7 @@
|
||||||
<Compile Include="TL\TLMessageActionChatJoinedByLink.cs" />
|
<Compile Include="TL\TLMessageActionChatJoinedByLink.cs" />
|
||||||
<Compile Include="TL\TLMessageActionChatMigrateTo.cs" />
|
<Compile Include="TL\TLMessageActionChatMigrateTo.cs" />
|
||||||
<Compile Include="TL\TLMessageActionEmpty.cs" />
|
<Compile Include="TL\TLMessageActionEmpty.cs" />
|
||||||
|
<Compile Include="TL\TLMessageActionGameScore.cs" />
|
||||||
<Compile Include="TL\TLMessageActionHistoryClear.cs" />
|
<Compile Include="TL\TLMessageActionHistoryClear.cs" />
|
||||||
<Compile Include="TL\TLMessageActionPinMessage.cs" />
|
<Compile Include="TL\TLMessageActionPinMessage.cs" />
|
||||||
<Compile Include="TL\TLMessageEmpty.cs" />
|
<Compile Include="TL\TLMessageEmpty.cs" />
|
||||||
|
|
@ -579,6 +624,7 @@
|
||||||
<Compile Include="TL\TLMessageMediaContact.cs" />
|
<Compile Include="TL\TLMessageMediaContact.cs" />
|
||||||
<Compile Include="TL\TLMessageMediaDocument.cs" />
|
<Compile Include="TL\TLMessageMediaDocument.cs" />
|
||||||
<Compile Include="TL\TLMessageMediaEmpty.cs" />
|
<Compile Include="TL\TLMessageMediaEmpty.cs" />
|
||||||
|
<Compile Include="TL\TLMessageMediaGame.cs" />
|
||||||
<Compile Include="TL\TLMessageMediaGeo.cs" />
|
<Compile Include="TL\TLMessageMediaGeo.cs" />
|
||||||
<Compile Include="TL\TLMessageMediaPhoto.cs" />
|
<Compile Include="TL\TLMessageMediaPhoto.cs" />
|
||||||
<Compile Include="TL\TLMessageMediaUnsupported.cs" />
|
<Compile Include="TL\TLMessageMediaUnsupported.cs" />
|
||||||
|
|
@ -625,6 +671,7 @@
|
||||||
<Compile Include="TL\TLRequestInvokeWithoutUpdates.cs" />
|
<Compile Include="TL\TLRequestInvokeWithoutUpdates.cs" />
|
||||||
<Compile Include="TL\TLSendMessageCancelAction.cs" />
|
<Compile Include="TL\TLSendMessageCancelAction.cs" />
|
||||||
<Compile Include="TL\TLSendMessageChooseContactAction.cs" />
|
<Compile Include="TL\TLSendMessageChooseContactAction.cs" />
|
||||||
|
<Compile Include="TL\TLSendMessageGamePlayAction.cs" />
|
||||||
<Compile Include="TL\TLSendMessageGeoLocationAction.cs" />
|
<Compile Include="TL\TLSendMessageGeoLocationAction.cs" />
|
||||||
<Compile Include="TL\TLSendMessageRecordAudioAction.cs" />
|
<Compile Include="TL\TLSendMessageRecordAudioAction.cs" />
|
||||||
<Compile Include="TL\TLSendMessageRecordVideoAction.cs" />
|
<Compile Include="TL\TLSendMessageRecordVideoAction.cs" />
|
||||||
|
|
@ -635,6 +682,8 @@
|
||||||
<Compile Include="TL\TLSendMessageUploadVideoAction.cs" />
|
<Compile Include="TL\TLSendMessageUploadVideoAction.cs" />
|
||||||
<Compile Include="TL\TLStickerPack.cs" />
|
<Compile Include="TL\TLStickerPack.cs" />
|
||||||
<Compile Include="TL\TLStickerSet.cs" />
|
<Compile Include="TL\TLStickerSet.cs" />
|
||||||
|
<Compile Include="TL\TLStickerSetCovered.cs" />
|
||||||
|
<Compile Include="TL\TLStickerSetMultiCovered.cs" />
|
||||||
<Compile Include="TL\TLTopPeer.cs" />
|
<Compile Include="TL\TLTopPeer.cs" />
|
||||||
<Compile Include="TL\TLTopPeerCategoryBotsInline.cs" />
|
<Compile Include="TL\TLTopPeerCategoryBotsInline.cs" />
|
||||||
<Compile Include="TL\TLTopPeerCategoryBotsPM.cs" />
|
<Compile Include="TL\TLTopPeerCategoryBotsPM.cs" />
|
||||||
|
|
@ -656,6 +705,7 @@
|
||||||
<Compile Include="TL\TLUpdateChatParticipantDelete.cs" />
|
<Compile Include="TL\TLUpdateChatParticipantDelete.cs" />
|
||||||
<Compile Include="TL\TLUpdateChatParticipants.cs" />
|
<Compile Include="TL\TLUpdateChatParticipants.cs" />
|
||||||
<Compile Include="TL\TLUpdateChatUserTyping.cs" />
|
<Compile Include="TL\TLUpdateChatUserTyping.cs" />
|
||||||
|
<Compile Include="TL\TLUpdateConfig.cs" />
|
||||||
<Compile Include="TL\TLUpdateContactLink.cs" />
|
<Compile Include="TL\TLUpdateContactLink.cs" />
|
||||||
<Compile Include="TL\TLUpdateContactRegistered.cs" />
|
<Compile Include="TL\TLUpdateContactRegistered.cs" />
|
||||||
<Compile Include="TL\TLUpdateDcOptions.cs" />
|
<Compile Include="TL\TLUpdateDcOptions.cs" />
|
||||||
|
|
@ -676,11 +726,14 @@
|
||||||
<Compile Include="TL\TLUpdateNewStickerSet.cs" />
|
<Compile Include="TL\TLUpdateNewStickerSet.cs" />
|
||||||
<Compile Include="TL\TLUpdateNotifySettings.cs" />
|
<Compile Include="TL\TLUpdateNotifySettings.cs" />
|
||||||
<Compile Include="TL\TLUpdatePrivacy.cs" />
|
<Compile Include="TL\TLUpdatePrivacy.cs" />
|
||||||
|
<Compile Include="TL\TLUpdatePtsChanged.cs" />
|
||||||
<Compile Include="TL\TLUpdateReadChannelInbox.cs" />
|
<Compile Include="TL\TLUpdateReadChannelInbox.cs" />
|
||||||
<Compile Include="TL\TLUpdateReadChannelOutbox.cs" />
|
<Compile Include="TL\TLUpdateReadChannelOutbox.cs" />
|
||||||
|
<Compile Include="TL\TLUpdateReadFeaturedStickers.cs" />
|
||||||
<Compile Include="TL\TLUpdateReadHistoryInbox.cs" />
|
<Compile Include="TL\TLUpdateReadHistoryInbox.cs" />
|
||||||
<Compile Include="TL\TLUpdateReadHistoryOutbox.cs" />
|
<Compile Include="TL\TLUpdateReadHistoryOutbox.cs" />
|
||||||
<Compile Include="TL\TLUpdateReadMessagesContents.cs" />
|
<Compile Include="TL\TLUpdateReadMessagesContents.cs" />
|
||||||
|
<Compile Include="TL\TLUpdateRecentStickers.cs" />
|
||||||
<Compile Include="TL\TLUpdates.cs" />
|
<Compile Include="TL\TLUpdates.cs" />
|
||||||
<Compile Include="TL\TLUpdateSavedGifs.cs" />
|
<Compile Include="TL\TLUpdateSavedGifs.cs" />
|
||||||
<Compile Include="TL\TLUpdatesCombined.cs" />
|
<Compile Include="TL\TLUpdatesCombined.cs" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue