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