Sha256: e820f4923b0d1d987dcc48133de64b3c9af5e3c2a58453454fb674c75e519732

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

module TD::Types
  # Represents a link to a WEBP or TGS sticker.
  #
  # @attr id [TD::Types::String] Unique identifier of the query result.
  # @attr thumbnail_url [TD::Types::String] URL of the sticker thumbnail, if it exists.
  # @attr sticker_url [TD::Types::String] The URL of the WEBP or TGS sticker (sticker file size must not exceed 5MB).
  # @attr sticker_width [Integer] Width of the sticker.
  # @attr sticker_height [Integer] Height of the sticker.
  # @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, inputMessageSticker, inputMessageInvoice,
  #   inputMessageLocation, {TD::Types::InputMessageContent::Venue} or inputMessageContact.
  class InputInlineQueryResult::Sticker < InputInlineQueryResult
    attribute :id, TD::Types::String
    attribute :thumbnail_url, TD::Types::String
    attribute :sticker_url, TD::Types::String
    attribute :sticker_width, TD::Types::Coercible::Integer
    attribute :sticker_height, 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/sticker.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/input_inline_query_result/sticker.rb