mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-12-13 03:49:34 -06:00
12 lines
332 B
Python
12 lines
332 B
Python
from ..models.call import FakeCall
|
|
|
|
|
|
class CallService:
|
|
def __init__(self, client):
|
|
self.client = client
|
|
|
|
def fake_call(self, instance_id: str, data: FakeCall, instance_token: str):
|
|
return self.client.post(
|
|
f"call/offer/{instance_id}", data=data.__dict__, instance_token=instance_token
|
|
)
|