Sha256: a8c5e0dfc86bbfc8228b5dfefdfb3fa80d599049e948e1c76cbae11584e6f537

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

module TD::Types
  # Represents a link to an animated GIF.
  #
  # @attr id [String] Unique identifier of the query result.
  # @attr title [String] Title of the query result.
  # @attr thumbnail_url [String] URL of the static result thumbnail (JPEG or GIF), if it exists.
  # @attr gif_url [String] The URL of the GIF-file (file size must not exceed 1MB).
  # @attr gif_duration [Integer] Duration of the GIF, in seconds.
  # @attr gif_width [Integer] Width of the GIF.
  # @attr gif_height [Integer] Height of the GIF.
  # @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::AnimatedGif < InputInlineQueryResult
    attribute :id, TD::Types::String
    attribute :title, TD::Types::String
    attribute :thumbnail_url, TD::Types::String
    attribute :gif_url, TD::Types::String
    attribute :gif_duration, TD::Types::Integer
    attribute :gif_width, TD::Types::Integer
    attribute :gif_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_gif.rb