mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
add mltiline
This commit is contained in:
parent
759c76b899
commit
8daabc8d3c
|
|
@ -23,7 +23,17 @@ namespace TeleSharp.TL
|
|||
public string mime_type {get;set;}
|
||||
public TLVector<TLAbsDocumentAttribute> attributes {get;set;}
|
||||
private string caption;
|
||||
public string Caption { get { return caption; } set { caption = value.Length > 200 ? value.Remove(199, value.Length - 199) : value; } }
|
||||
public string Caption
|
||||
{
|
||||
get
|
||||
{
|
||||
return caption;
|
||||
}
|
||||
set
|
||||
{
|
||||
caption = value.Length > 200 ? value.Remove(199, value.Length - 199) : value;
|
||||
}
|
||||
}
|
||||
public TLVector<TLAbsInputDocument> stickers {get;set;}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,17 @@ namespace TeleSharp.TL
|
|||
public int flags {get;set;}
|
||||
public TLAbsInputFile file {get;set;}
|
||||
private string caption;
|
||||
public string Caption { get { return caption; } set { caption = value.Length > 200 ? value.Remove(199, value.Length - 199) : value; } }
|
||||
public string Caption
|
||||
{
|
||||
get
|
||||
{
|
||||
return caption;
|
||||
}
|
||||
set
|
||||
{
|
||||
caption = value.Length > 200 ? value.Remove(199, value.Length - 199) : value;
|
||||
}
|
||||
}
|
||||
public TLVector<TLAbsInputDocument> stickers {get;set;}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue