Class: Telegram::Bot::Types::StickerSet

Inherits:
Object
  • Object
show all
Defined in:
lib/telegram/bot/types/sticker_set.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_masksObject

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

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/telegram/bot/types/sticker_set.rb', line 3

def name
  @name
end

#stickersObject

Returns the value of attribute stickers.



3
4
5
# File 'lib/telegram/bot/types/sticker_set.rb', line 3

def stickers
  @stickers
end

#titleObject

Returns the value of attribute title.



3
4
5
# File 'lib/telegram/bot/types/sticker_set.rb', line 3

def title
  @title
end