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