Class: TD::Types::PaidMedia::Preview
- Inherits:
-
TD::Types::PaidMedia
- Object
- Dry::Struct
- Base
- TD::Types::PaidMedia
- TD::Types::PaidMedia::Preview
- Defined in:
- lib/tdlib/types/paid_media/preview.rb
Overview
The media is hidden until the invoice is paid.
Instance Attribute Summary collapse
-
#duration ⇒ Integer
Media duration, in seconds; 0 if unknown.
-
#height ⇒ Integer
Media height; 0 if unknown.
-
#minithumbnail ⇒ TD::Types::Minithumbnail?
Media minithumbnail; may be null.
-
#width ⇒ Integer
Media width; 0 if unknown.
Method Summary
Methods inherited from Base
Instance Attribute Details
#duration ⇒ Integer
Media duration, in seconds; 0 if unknown.
8 9 10 |
# File 'lib/tdlib/types/paid_media/preview.rb', line 8 def duration @duration end |
#height ⇒ Integer
Media height; 0 if unknown.
8 9 10 |
# File 'lib/tdlib/types/paid_media/preview.rb', line 8 def height @height end |
#minithumbnail ⇒ TD::Types::Minithumbnail?
Media minithumbnail; may be null.
8 9 10 |
# File 'lib/tdlib/types/paid_media/preview.rb', line 8 def minithumbnail @minithumbnail end |
#width ⇒ Integer
Media width; 0 if unknown.
8 9 10 |
# File 'lib/tdlib/types/paid_media/preview.rb', line 8 def width @width end |