Class: TD::Types::InlineQueryResult::Audio

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

Overview

Represents 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.

Returns:



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

def audio
  @audio
end

#idTD::Types::String

Unique identifier of the query result.

Returns:

  • (TD::Types::String)

    the current value of id



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

def id
  @id
end