From 8daabc8d3c2568d3e73c6848e14eaae5fd0321b1 Mon Sep 17 00:00:00 2001 From: omarm Date: Thu, 13 Apr 2017 14:11:11 +0300 Subject: [PATCH] add mltiline --- TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs | 12 +++++++++++- TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) 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;}