Class: Telegram::Bot::Types::StickerSet
- Inherits:
-
Object
- Object
- Telegram::Bot::Types::StickerSet
- Defined in:
- lib/telegram/bot/types/sticker_set.rb
Instance Attribute Summary collapse
-
#contains_masks ⇒ Object
Returns the value of attribute contains_masks.
-
#name ⇒ Object
Returns the value of attribute name.
-
#stickers ⇒ Object
Returns the value of attribute stickers.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ StickerSet
constructor
A new instance of StickerSet.
Constructor Details
#initialize(attributes) ⇒ StickerSet
Returns a new instance of StickerSet.
8 9 10 |
# File 'lib/telegram/bot/types/sticker_set.rb', line 8 def initialize(attributes) attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k } end |
Instance Attribute Details
#contains_masks ⇒ Object
Returns the value of attribute contains_masks.
3 4 5 |
# File 'lib/telegram/bot/types/sticker_set.rb', line 3 def contains_masks @contains_masks end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/telegram/bot/types/sticker_set.rb', line 3 def name @name end |
#stickers ⇒ Object
Returns the value of attribute stickers.
3 4 5 |
# File 'lib/telegram/bot/types/sticker_set.rb', line 3 def stickers @stickers end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/telegram/bot/types/sticker_set.rb', line 3 def title @title end |