Class: TD::Types::InputMessageContent::VoiceNote
- Inherits:
-
TD::Types::InputMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::InputMessageContent
- TD::Types::InputMessageContent::VoiceNote
- Defined in:
- lib/tdlib/types/input_message_content/voice_note.rb
Overview
A voice note message.
Instance Attribute Summary collapse
-
#caption ⇒ TD::Types::FormattedText
Voice note caption; 0-GetOption(“message_caption_length_max”) characters.
-
#duration ⇒ Integer
Duration of the voice note, in seconds.
-
#voice_note ⇒ TD::Types::InputFile
Voice note to be sent.
-
#waveform ⇒ String
Waveform representation of the voice note, in 5-bit format.
Method Summary
Methods inherited from Base
Instance Attribute Details
#caption ⇒ TD::Types::FormattedText
Voice note caption; 0-GetOption(“message_caption_length_max”) characters.
8 9 10 |
# File 'lib/tdlib/types/input_message_content/voice_note.rb', line 8 def @caption end |
#duration ⇒ Integer
Duration of the voice note, in seconds.
8 9 10 |
# File 'lib/tdlib/types/input_message_content/voice_note.rb', line 8 def duration @duration end |
#voice_note ⇒ TD::Types::InputFile
Voice note to be sent.
8 9 10 |
# File 'lib/tdlib/types/input_message_content/voice_note.rb', line 8 def voice_note @voice_note end |
#waveform ⇒ String
Waveform representation of the voice note, in 5-bit format.
8 9 10 |
# File 'lib/tdlib/types/input_message_content/voice_note.rb', line 8 def waveform @waveform end |