mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-12-16 04:49:33 -06:00
9 lines
314 B
Python
9 lines
314 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)
|