diff --git a/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs b/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs index 3347ef8..876fd54 100644 --- a/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs +++ b/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs @@ -23,7 +23,17 @@ namespace TeleSharp.TL public string mime_type {get;set;} public TLVector 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 stickers {get;set;} diff --git a/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs b/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs index beb9dad..bf0da80 100644 --- a/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs +++ b/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs @@ -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 stickers {get;set;}