mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-07-13 07:04:49 -06:00
13 lines
382 B
Python
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
|
|
) |