mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-07-13 15:14:48 -06:00
16 lines
396 B
Python
16 lines
396 B
Python
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
|
|
) |