Sha256: 56223f70dde1cca8b16a0cd4cfa4ea78a4237a7d5b2f7c2a2f3ed7bc3ed876ca

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

module TD::Types
  # Represents link to a JPEG image.
  #
  # @attr id [String] Unique identifier of the query result.
  # @attr title [String] Title of the result, if known.
  # @attr description [String] A short description of the result, if known.
  # @attr thumbnail_url [String] URL of the photo thumbnail, if it exists.
  # @attr photo_url [String] The URL of the JPEG photo (photo size must not exceed 5MB).
  # @attr photo_width [Integer] Width of the photo.
  # @attr photo_height [Integer] Height of the photo.
  # @attr input_message_content [TD::Types::InputMessageContent::Text, TD::Types::InputMessageContent::Photo,
  #   TD::Types::InputMessageContent::Location, TD::Types::InputMessageContent::Venue,
  #   TD::Types::InputMessageContent::Contact] The content of the message to be sent.
  class InputInlineQueryResult::Photo < InputInlineQueryResult
    attribute :id, TD::Types::String
    attribute :title, TD::Types::String
    attribute :description, TD::Types::String
    attribute :thumbnail_url, TD::Types::String
    attribute :photo_url, TD::Types::String
    attribute :photo_width, TD::Types::Integer
    attribute :photo_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/photo.rb