Class: TD::Types::PageBlock::Audio

Inherits:
TD::Types::PageBlock show all
Defined in:
lib/tdlib/types/page_block/audio.rb

Overview

An audio file.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#audioTD::Types::Audio?

Audio file; may be null.

Returns:



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

def audio
  @audio
end

#captionTD::Types::PageBlockCaption

Audio file caption.

Returns:



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

def caption
  @caption
end