Class: TD::Types::PageBlock::VoiceNote

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

Overview

A voice note.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#captionTD::Types::PageBlockCaption

Voice note caption.

Returns:



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

def caption
  @caption
end

#voice_noteTD::Types::VoiceNote?

Voice note; may be null.

Returns:



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

def voice_note
  @voice_note
end