Skip to content

Commit

Permalink
New fields in Types
Browse files Browse the repository at this point in the history
  • Loading branch information
unreal4u committed May 18, 2017
1 parent f89d869 commit e1e97f8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Telegram/Types/Inline/Query/Result/Gif.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions src/Telegram/Types/Inline/Query/Result/Mpeg4Gif.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1e97f8

Please sign in to comment.