mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-04 22:18:59 +00:00
Layer-57
This commit is contained in:
parent
0752c60082
commit
23e647e81c
81 changed files with 2631 additions and 213 deletions
|
|
@ -7,21 +7,18 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Photos
|
||||
{
|
||||
[TLObject(-720397176)]
|
||||
[TLObject(1328726168)]
|
||||
public class TLRequestUploadProfilePhoto : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
{
|
||||
get
|
||||
{
|
||||
return -720397176;
|
||||
return 1328726168;
|
||||
}
|
||||
}
|
||||
|
||||
public TLAbsInputFile file {get;set;}
|
||||
public string caption {get;set;}
|
||||
public TLAbsInputGeoPoint geo_point {get;set;}
|
||||
public TLAbsInputPhotoCrop crop {get;set;}
|
||||
public Photos.TLPhoto Response{ get; set;}
|
||||
|
||||
|
||||
|
|
@ -33,9 +30,6 @@ namespace TeleSharp.TL.Photos
|
|||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
|
||||
caption = StringUtil.Deserialize(br);
|
||||
geo_point = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br);
|
||||
crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -43,9 +37,6 @@ crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
|
|||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(file,bw);
|
||||
StringUtil.Serialize(caption,bw);
|
||||
ObjectUtils.SerializeObject(geo_point,bw);
|
||||
ObjectUtils.SerializeObject(crop,bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue