Class: TD::Types::Thumbnail
- Defined in:
- lib/tdlib/types/thumbnail.rb
Overview
Represents a thumbnail.
Instance Attribute Summary collapse
-
#file ⇒ TD::Types::File
The thumbnail.
-
#format ⇒ TD::Types::ThumbnailFormat
Thumbnail format.
-
#height ⇒ Integer
Thumbnail height.
-
#width ⇒ Integer
Thumbnail width.
Method Summary
Methods inherited from Base
Instance Attribute Details
#file ⇒ TD::Types::File
The thumbnail.
8 9 10 |
# File 'lib/tdlib/types/thumbnail.rb', line 8 def file @file end |
#format ⇒ TD::Types::ThumbnailFormat
Thumbnail format.
8 9 10 |
# File 'lib/tdlib/types/thumbnail.rb', line 8 def format @format end |
#height ⇒ Integer
Thumbnail height.
8 9 10 |
# File 'lib/tdlib/types/thumbnail.rb', line 8 def height @height end |
#width ⇒ Integer
Thumbnail width.
8 9 10 |
# File 'lib/tdlib/types/thumbnail.rb', line 8 def width @width end |