mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-20 22:05:10 +00:00
Merge 6faba0f286 into 0d55940c12
This commit is contained in:
commit
278dfdcc39
2 changed files with 34 additions and 23 deletions
|
|
@ -283,7 +283,7 @@ namespace TLSharp.Core
|
||||||
random_id = Helpers.GenerateRandomLong(),
|
random_id = Helpers.GenerateRandomLong(),
|
||||||
background = false,
|
background = false,
|
||||||
clear_draft = false,
|
clear_draft = false,
|
||||||
media = new TLInputMediaUploadedPhoto() { file = file, caption = caption },
|
media = new TLInputMediaUploadedPhoto() { file = file, Caption = caption },
|
||||||
peer = peer
|
peer = peer
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,18 @@ namespace TeleSharp.TL
|
||||||
|
|
||||||
public int flags { get; set; }
|
public int flags { get; set; }
|
||||||
public TLAbsInputFile file { get; set; }
|
public TLAbsInputFile file { get; set; }
|
||||||
public string caption {get;set;}
|
|
||||||
|
private string caption;
|
||||||
|
|
||||||
|
|
||||||
|
public string Caption
|
||||||
|
{
|
||||||
|
get { return caption; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
caption = value.Length > 200 ? value.Remove(199, value.Length - 199) : value;
|
||||||
|
}
|
||||||
|
}
|
||||||
public TLVector<TLAbsInputDocument> stickers { get; set; }
|
public TLVector<TLAbsInputDocument> stickers { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue