mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-12-19 11:52:19 -06:00
adjusts in package
This commit is contained in:
13
build/lib/evolutionapi/services/call.py
Normal file
13
build/lib/evolutionapi/services/call.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
)
|
||||
Reference in New Issue
Block a user