Skip to content

Commit b57b573

Browse files
committed
cleaned version of send poll API and example
1 parent a48076c commit b57b573

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

examples/sendPoll.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
def main():
99
response = greenAPI.sending.sendPoll(
10-
"11001234567@c.us",
11-
"Please choose the color:",
10+
"11001234567@c.us",
11+
"Please choose the color:",
1212
[
13-
{"optionName": "green"},
14-
{"optionName": "red"},
13+
{"optionName": "green"},
14+
{"optionName": "red"},
1515
{"optionName": "blue"}
1616
]
1717
)

whatsapp_api_client_python/tools/sending.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def sendPoll(
269269
quotedMessageId: Optional[str] = None
270270
) -> Response:
271271
"""
272-
The method is intended for sending messages with a poll to a
272+
The method is intended for sending messages with a poll to a
273273
private or group chat
274274
"""
275275

0 commit comments

Comments
 (0)