evolution-client-python/build/lib/evolution/services/call.py
2024-10-30 12:00:25 -03:00

13 lines
382 B
Python

from typing import Union, BinaryIO
from ..models.call import *
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
)