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