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 or TGS 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.



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

def id
  @id
end

#input_message_contentTD::Types::InputMessageContent

The content of the message to be sent. Must be one of the following types: InputMessageText, inputMessageSticker, InputMessageLocation, InputMessageVenue or InputMessageContact.



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

def input_message_content
  @input_message_content
end

#reply_markupTD::Types::ReplyMarkup

The message reply markup. Must be of type ReplyMarkup::InlineKeyboard or null.



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

def reply_markup
  @reply_markup
end

#sticker_heightInteger

Height of the sticker.



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

def sticker_height
  @sticker_height
end

#sticker_urlString

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



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

def sticker_url
  @sticker_url
end

#sticker_widthInteger

Width of the sticker.



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

def sticker_width
  @sticker_width
end

#thumbnail_urlString

URL of the sticker thumbnail, if it exists.



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

def thumbnail_url
  @thumbnail_url
end