Sha256: 2b1cfa7550250cee715096c7612c5f1fdf639f156e5b6cfc6fcfeb56709b183a

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

module TD::Types
  # Represents a link to an MP3 audio file.
  #
  # @attr id [String] Unique identifier of the query result.
  # @attr title [String] Title of the audio file.
  # @attr performer [String] Performer of the audio file.
  # @attr audio_url [String] The URL of the audio file.
  # @attr audio_duration [Integer] Audio file duration, in seconds.
  # @attr reply_markup [TD::Types::ReplyMarkup] The message reply markup.
  #   Must be of type {TD::Types::ReplyMarkup::InlineKeyboard} or null.
  # @attr input_message_content [TD::Types::InputMessageContent] The content of the message to be sent.
  #   Must be one of the following types: inputMessageText, inputMessageAudio, inputMessageInvoice,
  #   inputMessageLocation, {TD::Types::InputMessageContent::Venue} or inputMessageContact.
  class InputInlineQueryResult::Audio < InputInlineQueryResult
    attribute :id, TD::Types::String
    attribute :title, TD::Types::String
    attribute :performer, TD::Types::String
    attribute :audio_url, TD::Types::String
    attribute :audio_duration, TD::Types::Integer
    attribute :reply_markup, TD::Types::ReplyMarkup
    attribute :input_message_content, TD::Types::InputMessageContent
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/input_inline_query_result/audio.rb