Skip to content

Commit ebe9afc

Browse files
committed
fix optional params
1 parent 3aafb31 commit ebe9afc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

whatsapp_api_client_python/tools/statuses.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def sendVoiceStatus(
3535
self,
3636
urlFile: str,
3737
fileName: str,
38-
backgroundColor: Optional[str],
39-
participants: Optional[List[str]]
38+
backgroundColor: Optional[str] = None,
39+
participants: Optional[List[str]] = None
4040
) -> Response:
4141
"""
4242
The method is aimed for sending a voice status.
@@ -57,8 +57,8 @@ def sendMediaStatus(
5757
self,
5858
urlFile: str,
5959
fileName: str,
60-
caption: Optional[str],
61-
participants: Optional[List[str]]
60+
caption: Optional[str] = None,
61+
participants: Optional[List[str]] = None
6262
) -> Response:
6363
"""
6464
The method is aimed for sending a pictures or video status.
@@ -112,7 +112,7 @@ def getStatusStatistic(
112112

113113
def getIncomingStatuses(
114114
self,
115-
minutes: Optional[int]=None
115+
minutes: Optional[int] = None
116116
) -> Response:
117117
"""
118118
The method returns the incoming statuses of the account
@@ -132,7 +132,7 @@ def getIncomingStatuses(
132132

133133
def getOutgoingStatuses(
134134
self,
135-
minutes: Optional[int]=None
135+
minutes: Optional[int] = None
136136
) -> Response:
137137
"""
138138
The method returns the outgoing statuses of the account

0 commit comments

Comments
 (0)