code: def from_array(array):
          
          if array is None or not array:
              return None
          # end if
          assert_type_or_raise(array, dict, parameter_name="array")
          from .stickers import MaskPosition
  
          data = {}
          data['file_id'] = u(array.get('file_id'))
          data['width'] = int(array.get('width'))
          data['height'] = int(array.get('height'))
          data['thumb'] = PhotoSize.from_array(array.get('thumb')) if array.get('thumb') is not None else None
          data['emoji'] = u(array.get('emoji')) if array.get('emoji') is not None else None
          data['set_name'] = u(array.get('set_name')) if array.get('set_name') is not None else None
          data['mask_position'] = MaskPosition.from_array(array.get('mask_position')) if array.get(
              'mask_position') is not None else None
          data['file_size'] = int(array.get('file_size')) if array.get('file_size') is not None else None
          data['_raw'] = array
          return Sticker(**data)
docs: Deserialize a new Sticker from a given dictionary.
  
          :return: new Sticker instance.
          :rtype: Sticker