Class: TD::Types::PushMessageContent::Audio
- Inherits:
-
TD::Types::PushMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::PushMessageContent
- TD::Types::PushMessageContent::Audio
- Defined in:
- lib/tdlib/types/push_message_content/audio.rb
Overview
An audio message.
Instance Attribute Summary collapse
-
#audio ⇒ TD::Types::Audio?
Message content; may be null.
-
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
Method Summary
Methods inherited from Base
Instance Attribute Details
#audio ⇒ TD::Types::Audio?
Message content; may be null.
6 7 8 |
# File 'lib/tdlib/types/push_message_content/audio.rb', line 6 def audio @audio end |
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
6 7 8 |
# File 'lib/tdlib/types/push_message_content/audio.rb', line 6 def is_pinned @is_pinned end |