Skip to content

Releases: green-api/whatsapp-chatbot-python

Release v0.9.9

Choose a tag to compare

@AshLeigh-Fraxinus AshLeigh-Fraxinus released this 17 Feb 08:04

Full Changelog: v0.9.8...v0.9.9

Release v0.9.8

Choose a tag to compare

@AshLeigh-Fraxinus AshLeigh-Fraxinus released this 25 Nov 04:12
9075ba4

What's Changed

  • Added sendTyping method in #49

Full Changelog: v0.9.7...v0.9.8

Release v0.9.7

Choose a tag to compare

@AshLeigh-Fraxinus AshLeigh-Fraxinus released this 13 Nov 06:19
2f39b18

Features

  • Added sendInteractiveButtons method
  • Added sendInteractiveButtonsReply method

Enhancements

  • Updated examples for new methods

v0.9.6

Choose a tag to compare

@prostraction prostraction released this 07 Feb 15:11

Bump whatsapp_api_client_python version up to 0.0.49.
Changed requierements setting to >=.

0.9.5

Choose a tag to compare

@prostraction prostraction released this 27 Jan 11:04
  • Bump whatsapp_api_client_python version up to 0.0.48.

0.9.4

Choose a tag to compare

@prostraction prostraction released this 16 Dec 06:23

Release 0.9.4

Updated dependencies

Choose a tag to compare

@prostraction prostraction released this 03 Oct 12:40
51d1a1a

Dependencies

  • Bump whatsapp-api-client-python from 0.0.46 to 0.0.47

Updated dependencies

Choose a tag to compare

@prostraction prostraction released this 30 Sep 14:50
d2a3364

Enhancements

  • Updated docs

Dependencies

  • Bump whatsapp-api-client-python from 0.0.45 to 0.0.46

Updated dependencies

Choose a tag to compare

@Amele9 Amele9 released this 13 Mar 05:54
589bf02

Enhancements

  • Updated docs

Dependencies

  • Bump whatsapp-api-client-python from 0.0.44 to 0.0.45

Added poll support

Choose a tag to compare

@Amele9 Amele9 released this 07 Feb 12:09
e1af0c5

Important changes

  • The default value for the raise_errors option has been changed to False
  • Now if an error is received during event handling, the bot will attempt to handle the event again after 5 seconds

Features

  • Added poll support

Example of working with a poll

You can subscribe to notifications for incoming polls and incoming poll updates using the poll_message and poll_update_message decorators. Example:

@bot.router.poll_message()
def poll_message_handler(notification: Notification) -> None:
    print(notification.event["messageData"]["pollMessageData"]["options"])
@bot.router.poll_update_message()
def poll_update_message_handler(notification: Notification) -> None:
    print(notification.event["messageData"]["pollMessageData"]["votes"])