Class: Telegram::Bot::Types::InlineQueryResultCachedSticker
- Defined in:
- sig/telegram/bot/types/inline_query_result_cached_sticker.rbs
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#input_message_content ⇒ input_message_content?
readonly
Returns the value of attribute input_message_content.
-
#reply_markup ⇒ InlineKeyboardMarkup?
readonly
Returns the value of attribute reply_markup.
-
#sticker_file_id ⇒ String
readonly
Returns the value of attribute sticker_file_id.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#id ⇒ String (readonly)
Returns the value of attribute id.
9 10 11 |
# File 'sig/telegram/bot/types/inline_query_result_cached_sticker.rbs', line 9 def id @id end |
#input_message_content ⇒ input_message_content? (readonly)
Returns the value of attribute input_message_content.
12 13 14 |
# File 'sig/telegram/bot/types/inline_query_result_cached_sticker.rbs', line 12 def @input_message_content end |
#reply_markup ⇒ InlineKeyboardMarkup? (readonly)
Returns the value of attribute reply_markup.
11 12 13 |
# File 'sig/telegram/bot/types/inline_query_result_cached_sticker.rbs', line 11 def reply_markup @reply_markup end |
#sticker_file_id ⇒ String (readonly)
Returns the value of attribute sticker_file_id.
10 11 12 |
# File 'sig/telegram/bot/types/inline_query_result_cached_sticker.rbs', line 10 def sticker_file_id @sticker_file_id end |
#type ⇒ String (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/inline_query_result_cached_sticker.rbs', line 8 def type @type end |
Class Method Details
.new(type:, id:, sticker_file_id:, reply_markup:, input_message_content:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/inline_query_result_cached_sticker.rbs', line 6
def self.new: (?type: String, id: String, sticker_file_id: String, ?reply_markup: InlineKeyboardMarkup, ?input_message_content: input_message_content) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|