Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 4dcabcc

Browse files
committed
Support for Bot API v4.9
1 parent d9a3d5e commit 4dcabcc

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/Telegram/Types/Inline/Query/Result/Gif.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ class Gif extends Result
5454
*/
5555
public $thumb_url = '';
5656

57+
/**
58+
* Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to
59+
* “image/jpeg”
60+
*
61+
* @var string
62+
*/
63+
public $thumb_mime_type = '';
64+
5765
/**
5866
* Optional. Title for the result
5967
* @var string

src/Telegram/Types/Inline/Query/Result/Mpeg4Gif.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ class Mpeg4Gif extends Result
5454
*/
5555
public $thumb_url = '';
5656

57+
/**
58+
* Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to
59+
* “image/jpeg”
60+
*
61+
* @var string
62+
*/
63+
public $thumb_mime_type = '';
64+
5765
/**
5866
* Optional. Title for the result
5967
* @var string

0 commit comments

Comments
 (0)