Class: TD::Types::InputInlineQueryResult::Sticker

Inherits:
TD::Types::InputInlineQueryResult show all
Defined in:
lib/tdlib/types/input_inline_query_result/sticker.rb

Overview

Represents a link to a WEBP sticker.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idString

Unique identifier of the query result.

Returns:

  • (String)

    the current value of id



13
14
15
# File 'lib/tdlib/types/input_inline_query_result/sticker.rb', line 13

def id
  @id
end

#input_message_contentTD::Types::InputMessageContent::Text, ...

The content of the message to be sent.



13
14
15
# File 'lib/tdlib/types/input_inline_query_result/sticker.rb', line 13

def input_message_content
  @input_message_content
end

#reply_markupTD::Types::ReplyMarkup::InlineKeyboard?

The message reply markup.

Returns:



13
14
15
# File 'lib/tdlib/types/input_inline_query_result/sticker.rb', line 13

def reply_markup
  @reply_markup
end

#sticker_heightInteger

Height of the sticker.

Returns:

  • (Integer)

    the current value of sticker_height



13
14
15
# File 'lib/tdlib/types/input_inline_query_result/sticker.rb', line 13

def sticker_height
  @sticker_height
end

#sticker_urlString

The URL of the WEBP sticker (sticker file size must not exceed 5MB).

Returns:

  • (String)

    the current value of sticker_url



13
14
15
# File 'lib/tdlib/types/input_inline_query_result/sticker.rb', line 13

def sticker_url
  @sticker_url
end

#sticker_widthInteger

Width of the sticker.

Returns:

  • (Integer)

    the current value of sticker_width



13
14
15
# File 'lib/tdlib/types/input_inline_query_result/sticker.rb', line 13

def sticker_width
  @sticker_width
end

#thumbnail_urlString

URL of the sticker thumbnail, if it exists.

Returns:

  • (String)

    the current value of thumbnail_url



13
14
15
# File 'lib/tdlib/types/input_inline_query_result/sticker.rb', line 13

def thumbnail_url
  @thumbnail_url
end