From e1e97f83c594c2ad7d9fd3e1cbfcd0d5a8abef13 Mon Sep 17 00:00:00 2001 From: Camilo Sperberg <me@unreal4u.com> Date: Fri, 19 May 2017 00:33:08 +0200 Subject: [PATCH] New fields in Types --- src/Telegram/Types/Inline/Query/Result/Gif.php | 6 ++++++ src/Telegram/Types/Inline/Query/Result/Mpeg4Gif.php | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/Telegram/Types/Inline/Query/Result/Gif.php b/src/Telegram/Types/Inline/Query/Result/Gif.php index 8221fec..8ee3e78 100644 --- a/src/Telegram/Types/Inline/Query/Result/Gif.php +++ b/src/Telegram/Types/Inline/Query/Result/Gif.php @@ -42,6 +42,12 @@ class Gif extends Result */ public $gif_height = 0; + /** + * Optional. Duration of the GIF + * @var int + */ + public $gif_duration = 0; + /** * URL of the static thumbnail for the result (jpeg or gif) * @var string diff --git a/src/Telegram/Types/Inline/Query/Result/Mpeg4Gif.php b/src/Telegram/Types/Inline/Query/Result/Mpeg4Gif.php index 3425267..15545dc 100644 --- a/src/Telegram/Types/Inline/Query/Result/Mpeg4Gif.php +++ b/src/Telegram/Types/Inline/Query/Result/Mpeg4Gif.php @@ -42,6 +42,12 @@ class Mpeg4Gif extends Result */ public $mpeg4_height = 0; + /** + * Optional. Video duration + * @var int + */ + public $mpeg4_duration = 0; + /** * URL of the thumbnail for the photo * @var string