messenger_client.py¶
-
class
messenger_client.
MessengerClient
¶ A class that interfaces with facebook Messenger and receives and sends message data.
-
handle_received_data
(data)¶ Handle data received from the webhook.
Extracts the message text and sender_id and returns.
-
send_message
(recipient_id, message_text, quickreply_options_list)¶ Send a custom FB message with message_text as the body.
This allows for quickreply options.
-