- Add missing tag parameter to BaseMessenger::send
- Remove invalid message tag
- Adding 2 quick replies content_type: userphone_number, user_mail
- Add share_contents support for share button
- The caller may now pass their own
requests.Session
object toMessengerClient
. This is useful for eg. configuring retry behaviour. - Every method that causes network access now accepts a
timeout
parameter.
- Add support for
notification_type
in the Send API.
- Breaking API change -
messaging_type
is now required when sending a message.
- Bring PersistentMenuItem up to date
- Add support for default_action to Element
- Support for new Messenger Profile
- Empty QuickReplies should evaluate to false
- Fixed quick replies in templates and attachments
- Added method to delete persistent menu
- Fixed quick replies, added location and images to quick replies
- Added webview and messenger extensions support
- Added reusable attachment support
- Can add and remove whitelisted domains
- element_share button support
- Added use of requests.Session for connection reuse
- Renamed abstract methods to match data structure
Methods are now
message
,delivery
,optin
,postback
,read
andaccount_linking
- Renamed
subscribe
tosubscribe_app_to_page
- Removed need for verify token when instanciating class
- Removed verify function
- Added callback account_linking webhook
- Support account_link and account_unlink button types
- Message echoes removed, should be handled in messages callback and checking for
"is_echo": "true"
- Added delete_thread_setting method
- Added
BaseMessenger#send_actions
method
Elements#Image
moved toAttachments#Image
MessengerClient#send_data
renamed tosend
MessengerClient#set_welcome_message removed
BaseMessenger#message_echoes
andBaseMessenger#message_reads
handlers now required- Buttons now require a
button_type
parameter
- Support for audio, video and file attachments
- Support for sender actions
- Support for quick replies
- Support for get started button and persistent menus
- locale, timezone and gender now returned for user
- Support for phone_number button types