Class: TD::Types::InputThumbnail
- Defined in:
- lib/tdlib/types/input_thumbnail.rb
Overview
A thumbnail to be sent along with a file; must be in JPEG or WEBP format for stickers, and less than 200 KB in
size.
Instance Attribute Summary collapse
-
#height ⇒ Integer
Thumbnail height, usually shouldn’t exceed 320.
-
#thumbnail ⇒ TD::Types::InputFile
Thumbnail file to send.
-
#width ⇒ Integer
Thumbnail width, usually shouldn’t exceed 320.
Method Summary
Methods inherited from Base
Instance Attribute Details
#height ⇒ Integer
Thumbnail height, usually shouldn’t exceed 320. Use 0 if unknown.
11 12 13 |
# File 'lib/tdlib/types/input_thumbnail.rb', line 11 def height @height end |
#thumbnail ⇒ TD::Types::InputFile
Thumbnail file to send. Sending thumbnails by file_id is currently not supported.
11 12 13 |
# File 'lib/tdlib/types/input_thumbnail.rb', line 11 def thumbnail @thumbnail end |
#width ⇒ Integer
Thumbnail width, usually shouldn’t exceed 320. Use 0 if unknown.
11 12 13 |
# File 'lib/tdlib/types/input_thumbnail.rb', line 11 def width @width end |