Sha256: 411a5fe098ca404e93d589452741f3df04b643f38d5d0eddfbf0638271e9ec33

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 KB

Contents

module TD::Types
  # Represents a link to an opus-encoded audio file within an OGG container, single channel audio.
  #
  # @attr id [TD::Types::String] Unique identifier of the query result.
  # @attr title [TD::Types::String] Title of the voice note.
  # @attr voice_note_url [TD::Types::String] The URL of the voice note file.
  # @attr voice_note_duration [Integer] Duration of the voice note, 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, inputMessageVoiceNote, inputMessageInvoice,
  #   inputMessageLocation, {TD::Types::InputMessageContent::Venue} or inputMessageContact.
  class InputInlineQueryResult::VoiceNote < InputInlineQueryResult
    attribute :id, TD::Types::String
    attribute :title, TD::Types::String
    attribute :voice_note_url, TD::Types::String
    attribute :voice_note_duration, TD::Types::Coercible::Integer
    attribute :reply_markup, TD::Types::ReplyMarkup
    attribute :input_message_content, TD::Types::InputMessageContent
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/input_inline_query_result/voice_note.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/input_inline_query_result/voice_note.rb