Class: TD::Types::InputPaidMedia
- Defined in:
- lib/tdlib/types/input_paid_media.rb
Overview
Describes a paid media to be sent.
Instance Attribute Summary collapse
-
#added_sticker_file_ids ⇒ Array<Integer>
File identifiers of the stickers added to the media, if applicable.
-
#height ⇒ Integer
Media height.
-
#media ⇒ TD::Types::InputFile
Photo or video to be sent.
-
#thumbnail ⇒ TD::Types::InputThumbnail
Media thumbnail; pass null to skip thumbnail uploading.
-
#type ⇒ TD::Types::InputPaidMediaType
Type of the media.
-
#width ⇒ Integer
Media width.
Method Summary
Methods inherited from Base
Instance Attribute Details
#added_sticker_file_ids ⇒ Array<Integer>
File identifiers of the stickers added to the media, if applicable.
10 11 12 |
# File 'lib/tdlib/types/input_paid_media.rb', line 10 def added_sticker_file_ids @added_sticker_file_ids end |
#height ⇒ Integer
Media height.
10 11 12 |
# File 'lib/tdlib/types/input_paid_media.rb', line 10 def height @height end |
#media ⇒ TD::Types::InputFile
Photo or video to be sent.
10 11 12 |
# File 'lib/tdlib/types/input_paid_media.rb', line 10 def media @media end |
#thumbnail ⇒ TD::Types::InputThumbnail
Media thumbnail; pass null to skip thumbnail uploading.
10 11 12 |
# File 'lib/tdlib/types/input_paid_media.rb', line 10 def thumbnail @thumbnail end |
#type ⇒ TD::Types::InputPaidMediaType
Type of the media.
10 11 12 |
# File 'lib/tdlib/types/input_paid_media.rb', line 10 def type @type end |
#width ⇒ Integer
Media width.
10 11 12 |
# File 'lib/tdlib/types/input_paid_media.rb', line 10 def width @width end |