Skip to content

Commit

Permalink
Fix missed thumbnail_url renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
noplanman committed Aug 29, 2023
1 parent d9484af commit b85a12c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
### Deprecated
### Removed
### Fixed
- Missing `thumbnail_url` renaming.
### Security

## [0.81.0] - 2023-05-27
Expand Down
6 changes: 3 additions & 3 deletions src/Entities/InlineQuery/InlineQueryResultPhoto.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* $data = [
* 'id' => '',
* 'photo_url' => '',
* 'thumb_url' => '',
* 'thumbnail_url' => '',
* 'photo_width' => 30,
* 'photo_height' => 30,
* 'title' => '',
Expand All @@ -37,7 +37,7 @@
* @method string getType() Type of the result, must be photo
* @method string getId() Unique identifier for this result, 1-64 bytes
* @method string getPhotoUrl() A valid URL of the photo. Photo must be in jpeg format. Photo size must not exceed 5MB
* @method string getThumbUrl() URL of the thumbnail for the photo
* @method string getThumbnailUrl() URL of the thumbnail for the photo
* @method int getPhotoWidth() Optional. Width of the photo
* @method int getPhotoHeight() Optional. Height of the photo
* @method string getTitle() Optional. Title for the result
Expand All @@ -50,7 +50,7 @@
*
* @method $this setId(string $id) Unique identifier for this result, 1-64 bytes
* @method $this setPhotoUrl(string $photo_url) A valid URL of the photo. Photo must be in jpeg format. Photo size must not exceed 5MB
* @method $this setThumbUrl(string $thumb_url) URL of the thumbnail for the photo
* @method $this setThumbnailUrl(string $thumbnail_url) URL of the thumbnail for the photo
* @method $this setPhotoWidth(int $photo_width) Optional. Width of the photo
* @method $this setPhotoHeight(int $photo_height) Optional. Height of the photo
* @method $this setTitle(string $title) Optional. Title for the result
Expand Down
6 changes: 3 additions & 3 deletions src/Entities/InlineQuery/InlineQueryResultVideo.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* 'id' => '',
* 'video_url' => '',
* 'mime_type' => '',
* 'thumb_url' => '',
* 'thumbnail_url' => '',
* 'title' => '',
* 'caption' => '',
* 'video_width' => 30,
Expand All @@ -40,7 +40,7 @@
* @method string getId() Unique identifier for this result, 1-64 bytes
* @method string getVideoUrl() A valid URL for the embedded video player or video file
* @method string getMimeType() Mime type of the content of video url, “text/html” or “video/mp4”
* @method string getThumbUrl() URL of the thumbnail (jpeg only) for the video
* @method string getThumbnailUrl() URL of the thumbnail (jpeg only) for the video
* @method string getTitle() Title for the result
* @method string getCaption() Optional. Caption of the video to be sent, 0-200 characters
* @method string getParseMode() Optional. Mode for parsing entities in the video caption
Expand All @@ -55,7 +55,7 @@
* @method $this setId(string $id) Unique identifier for this result, 1-64 bytes
* @method $this setVideoUrl(string $video_url) A valid URL for the embedded video player or video file
* @method $this setMimeType(string $mime_type) Mime type of the content of video url, “text/html” or “video/mp4”
* @method $this setThumbUrl(string $thumb_url) URL of the thumbnail (jpeg only) for the video
* @method $this setThumbnailUrl(string $thumbnail_url) URL of the thumbnail (jpeg only) for the video
* @method $this setTitle(string $title) Title for the result
* @method $this setCaption(string $caption) Optional. Caption of the video to be sent, 0-200 characters
* @method $this setParseMode(string $parse_mode) Optional. Mode for parsing entities in the video caption
Expand Down

0 comments on commit b85a12c

Please sign in to comment.