def METHOD_NAME(self):
    self.http = AsyncHTTPClient()
    self.api_conf = {k: v(self) if callable(v) else v for k, v in self._api_conf.items()}
    self.params = {k: v(self) if callable(v) else v for k, v in self._params.items()}
    self.params.setdefault('messages', [])
    self.headers = {'Content-Type': 'application/json'}
    if 'key' in self.api_conf:
        self.headers['Authorization'] = f'Bearer {self.api_conf.get("key", "")}'
    if callable(self._transform['open']):
        self._transform['open'](self.params, self)