Class: TD::Types::MessageContent::Audio

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/audio.rb

Overview

An audio message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#audioTD::Types::Audio

The audio description.

Returns:



6
7
8
# File 'lib/tdlib/types/message_content/audio.rb', line 6

def audio
  @audio
end

#captionTD::Types::FormattedText

Audio caption.

Returns:



6
7
8
# File 'lib/tdlib/types/message_content/audio.rb', line 6

def caption
  @caption
end