Class: TD::Types::MessageContent::VoiceNote
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::VoiceNote
- Defined in:
- lib/tdlib/types/message_content/voice_note.rb
Overview
A voice note message.
Instance Attribute Summary collapse
-
#caption ⇒ TD::Types::FormattedText
Voice note caption.
-
#is_listened ⇒ Boolean
True, if at least one of the recipients has listened to the voice note.
-
#voice_note ⇒ TD::Types::VoiceNote
The voice note description.
Method Summary
Methods inherited from Base
Instance Attribute Details
#caption ⇒ TD::Types::FormattedText
Voice note caption.
7 8 9 |
# File 'lib/tdlib/types/message_content/voice_note.rb', line 7 def @caption end |
#is_listened ⇒ Boolean
True, if at least one of the recipients has listened to the voice note.
7 8 9 |
# File 'lib/tdlib/types/message_content/voice_note.rb', line 7 def is_listened @is_listened end |
#voice_note ⇒ TD::Types::VoiceNote
The voice note description.
7 8 9 |
# File 'lib/tdlib/types/message_content/voice_note.rb', line 7 def voice_note @voice_note end |