code: def to_array(self):
          
          array = super(StickerSet, self).to_array()
          array['name'] = u(self.name)  # py2: type unicode, py3: type str
  
          array['title'] = u(self.title)  # py2: type unicode, py3: type str
  
          array['contains_masks'] = bool(self.contains_masks)  # type bool
          array['stickers'] = self._as_array(self.stickers)  # type list of Sticker
  
          return array
docs: Serializes this StickerSet to a dictionary.
  
          :return: dictionary representation of this object.
          :rtype: dict