Class: TD::Types::LinkPreviewType::EmbeddedAudioPlayer
- Inherits:
-
TD::Types::LinkPreviewType
- Object
- Dry::Struct
- Base
- TD::Types::LinkPreviewType
- TD::Types::LinkPreviewType::EmbeddedAudioPlayer
- Defined in:
- lib/tdlib/types/link_preview_type/embedded_audio_player.rb
Overview
The link is a link to an audio player.
Instance Attribute Summary collapse
-
#author ⇒ TD::Types::String
Author of the audio.
-
#duration ⇒ Integer
Duration of the audio, in seconds.
-
#height ⇒ Integer
Expected height of the embedded player.
-
#thumbnail ⇒ TD::Types::Photo?
Thumbnail of the audio; may be null if unknown.
-
#url ⇒ TD::Types::String
URL of the external audio player.
-
#width ⇒ Integer
Expected width of the embedded player.
Method Summary
Methods inherited from Base
Instance Attribute Details
#author ⇒ TD::Types::String
Author of the audio.
10 11 12 |
# File 'lib/tdlib/types/link_preview_type/embedded_audio_player.rb', line 10 def @author end |
#duration ⇒ Integer
Duration of the audio, in seconds.
10 11 12 |
# File 'lib/tdlib/types/link_preview_type/embedded_audio_player.rb', line 10 def duration @duration end |
#height ⇒ Integer
Expected height of the embedded player.
10 11 12 |
# File 'lib/tdlib/types/link_preview_type/embedded_audio_player.rb', line 10 def height @height end |
#thumbnail ⇒ TD::Types::Photo?
Thumbnail of the audio; may be null if unknown.
10 11 12 |
# File 'lib/tdlib/types/link_preview_type/embedded_audio_player.rb', line 10 def thumbnail @thumbnail end |
#url ⇒ TD::Types::String
URL of the external audio player.
10 11 12 |
# File 'lib/tdlib/types/link_preview_type/embedded_audio_player.rb', line 10 def url @url end |
#width ⇒ Integer
Expected width of the embedded player.
10 11 12 |
# File 'lib/tdlib/types/link_preview_type/embedded_audio_player.rb', line 10 def width @width end |