Sha256: 59746f9f67d721ba9f7149ad7d31ad44b2e2c491baa6a02085a65a83042113aa

Contents?: true

Size: 779 Bytes

Versions: 3

Compression:

Stored size: 779 Bytes

Contents

module TD::Types
  # Represents a link to an article or web page.
  #
  # @attr id [String] Unique identifier of the query result.
  # @attr url [String] URL of the result, if it exists.
  # @attr hide_url [Boolean] True, if the URL must be not shown.
  # @attr title [String] Title of the result.
  # @attr description [String] A short description of the result.
  # @attr thumbnail [TD::Types::PhotoSize, nil] Result thumbnail; may be null.
  class InlineQueryResult::Article < InlineQueryResult
    attribute :id, TD::Types::String
    attribute :url, TD::Types::String
    attribute :hide_url, TD::Types::Bool
    attribute :title, TD::Types::String
    attribute :description, TD::Types::String
    attribute :thumbnail, TD::Types::PhotoSize.optional.default(nil)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/inline_query_result/article.rb
tdlib-ruby-2.1.0 lib/tdlib/types/inline_query_result/article.rb
tdlib-ruby-2.0.0 lib/tdlib/types/inline_query_result/article.rb