Sha256: 9ae3f2045b2d359f1dcdcec30954d699e79b63d201c06e594e8597324a63a7fa

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

module TD::Types
  # Represents a link to an animated (i.e.
  # without sound) H.264/MPEG-4 AVC video.
  #
  # @attr id [String] Unique identifier of the query result.
  # @attr title [String] Title of the result.
  # @attr thumbnail_url [String] URL of the static result thumbnail (JPEG or GIF), if it exists.
  # @attr mpeg4_url [String] The URL of the MPEG4-file (file size must not exceed 1MB).
  # @attr mpeg4_duration [Integer] Duration of the video, in seconds.
  # @attr mpeg4_width [Integer] Width of the video.
  # @attr mpeg4_height [Integer] Height of the video.
  # @attr reply_markup [TD::Types::ReplyMarkup::InlineKeyboard, nil] The message reply markup.
  # @attr input_message_content [TD::Types::InputMessageContent::Text, TD::Types::InputMessageContent::Animation,
  #   TD::Types::InputMessageContent::Location, TD::Types::InputMessageContent::Venue,
  #   TD::Types::InputMessageContent::Contact] The content of the message to be sent.
  class InputInlineQueryResult::AnimatedMpeg4 < InputInlineQueryResult
    attribute :id, TD::Types::String
    attribute :title, TD::Types::String
    attribute :thumbnail_url, TD::Types::String
    attribute :mpeg4_url, TD::Types::String
    attribute :mpeg4_duration, TD::Types::Integer
    attribute :mpeg4_width, TD::Types::Integer
    attribute :mpeg4_height, 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-ruby-2.0.0 lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb