Class: TD::Types::InlineQueryResult::VoiceNote

Inherits:
TD::Types::InlineQueryResult show all
Defined in:
lib/tdlib/types/inline_query_result/voice_note.rb

Overview

Represents a voice note.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idTD::Types::String

Unique identifier of the query result.

Returns:

  • (TD::Types::String)

    the current value of id



7
8
9
# File 'lib/tdlib/types/inline_query_result/voice_note.rb', line 7

def id
  @id
end

#titleTD::Types::String

Title of the voice note.

Returns:

  • (TD::Types::String)

    the current value of title



7
8
9
# File 'lib/tdlib/types/inline_query_result/voice_note.rb', line 7

def title
  @title
end

#voice_noteTD::Types::VoiceNote

Voice note.

Returns:



7
8
9
# File 'lib/tdlib/types/inline_query_result/voice_note.rb', line 7

def voice_note
  @voice_note
end