With this release we allow users to get more information about the particular message they receive. We can do this by:
python
bot.on_hears("hi")
def respond_to_hi(room_id=None, message_info=None):
print(message_info)
return bot.send_message(room_id=room_id, text="Hi there too budy")
<b>NOTE</b> The <i>message_info=None</i> parameter is not required in normal calls but is mandatory if we are to collect metadata about the message.
Brought about by the following issue https://github.com/Paul-weqe/python_webex_bot/issues/9