class Telegram::Bot::Types::StickerSet
Attributes
contains_masks[RW]
name[RW]
stickers[RW]
title[RW]
Public Class Methods
new(attributes)
click to toggle source
# 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
Public Instance Methods
stickers=(attributes)
click to toggle source
# File lib/telegram/bot/types/sticker_set.rb, line 12 def stickers=(attributes) @stickers = attributes.map {|attr| Sticker.new(attr) } end