[UP] api_manager ~ def update_call

This commit is contained in:
Evgeny (Krymmy) Momotov 2025-11-13 09:32:57 +03:00
parent 4ec0cde089
commit 7888e53b20

View file

@ -68,7 +68,7 @@ class CallerManagerClient:
return Call(**response)
async def update_call(self, call_id: int, call: CallIn) -> Call:
response = await self._request('PATCH', f'/calls/{call_id}', json=call.model_dump(exclude_none=True))
response = await self._request('PATCH', f'/calls/{call_id}', json=call.model_dump(exclude_unset=True))
return Call(**response)
async def get_call_dialog(self, call_id: int) -> CallDialog: