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