Class: TD::Types::InputInlineQueryResult::Sticker
- Inherits:
-
TD::Types::InputInlineQueryResult
- Object
- Dry::Struct
- Base
- TD::Types::InputInlineQueryResult
- TD::Types::InputInlineQueryResult::Sticker
- 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
-
#id ⇒ TD::Types::String
Unique identifier of the query result.
-
#input_message_content ⇒ TD::Types::InputMessageContent
The content of the message to be sent.
-
#reply_markup ⇒ TD::Types::ReplyMarkup
The message reply markup.
-
#sticker_height ⇒ Integer
Height of the sticker.
-
#sticker_url ⇒ TD::Types::String
The URL of the WEBP or TGS sticker (sticker file size must not exceed 5MB).
-
#sticker_width ⇒ Integer
Width of the sticker.
-
#thumbnail_url ⇒ TD::Types::String
URL of the sticker thumbnail, if it exists.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ TD::Types::String
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_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.
14 15 16 |
# File 'lib/tdlib/types/input_inline_query_result/sticker.rb', line 14 def @input_message_content end |
#reply_markup ⇒ TD::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_height ⇒ Integer
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_url ⇒ TD::Types::String
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_width ⇒ Integer
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_url ⇒ TD::Types::String
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 |