Skip to content

Commit

Permalink
Support for Bot API v4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
unreal4u committed Jun 24, 2020
1 parent d9a3d5e commit 4dcabcc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Telegram/Types/Inline/Query/Result/Gif.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ class Gif extends Result
*/
public $thumb_url = '';

/**
* Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to
* “image/jpeg”
*
* @var string
*/
public $thumb_mime_type = '';

/**
* Optional. Title for the result
* @var string
Expand Down
8 changes: 8 additions & 0 deletions src/Telegram/Types/Inline/Query/Result/Mpeg4Gif.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ class Mpeg4Gif extends Result
*/
public $thumb_url = '';

/**
* Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to
* “image/jpeg”
*
* @var string
*/
public $thumb_mime_type = '';

/**
* Optional. Title for the result
* @var string
Expand Down

0 comments on commit 4dcabcc

Please sign in to comment.