mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-12-21 21:02:20 -06:00
adjusts in package
This commit is contained in:
16
build/lib/evolutionapi/models/call.py
Normal file
16
build/lib/evolutionapi/models/call.py
Normal file
@@ -0,0 +1,16 @@
|
||||
class BaseCall:
|
||||
def __init__(self, **kwargs):
|
||||
self.__dict__.update({k: v for k, v in kwargs.items() if v is not None})
|
||||
|
||||
class FakeCall(BaseCall):
|
||||
def __init__(
|
||||
self,
|
||||
number: str,
|
||||
isVideo: bool,
|
||||
callDuration: int
|
||||
):
|
||||
super().__init__(
|
||||
number=number,
|
||||
isVideo=isVideo,
|
||||
callDuration=callDuration
|
||||
)
|
||||
Reference in New Issue
Block a user