code: def set_cover_image(self, data=None, input_file_path=None, scope='avatar/write',
                          content_type='application/octet-stream'):
          
          if input_file_path:
              with open(input_file_path, 'rb') as f:
                  data = f.read()
  
          if not data:
              raise ValueError('Either the data of an image file or the path to an image file must be provided')
  
          return _post(
              token=self.oauth.get_user_token(scope),
              uri='/user/cover',
              data=data,
              content_type=content_type,
              )
docs: Set the Mxit user's cover image
          User authentication required with the following scope: 'avatar/write' (cover image and avatars are treated the same)