- Support for game_plays
- Support for pass_thread_control
- Upgraded to Graph API 3.2 for everything
- Support for appsecret_proof
- Support for Graph API 3.2 in
Subscriptions.
- Fixed a bug that caused messaging types and tags to not be required.
- Support for Rack 1.4.5 or newer (was 1.6.4).
Incoming::Optin#user_ref.- Support for message requests.
- Support for Facebook's built-in NLP with
Incoming::Message#nlp. - Support for payments with
Incoming::Payment. - Support for handover.
- Support for message types and tags.
- Support for prior message.
- Support for Graph API v2.9.
- Error codes now include subcodes
- You may now subscribe to message echoes without DDOSing yourself.
Message#app_idyields the application ID for message echoes.- Helpers to determine the attachments of a message (e.g.
Message#image_attachment?).
Threadis nowProfileto correspond with Facebook's API.
- Various errors from the Facebook Messenger platform are now subclasses of
Facebook::Messenger::Errorsto allow easier error handling. Message#mark_seenwill mark the received message as seen.
typeis nowtyping_onandtyping_off.
Message#referralnow returnsnilif there is no referral.
- Webhooks that don't have messaging will now be ignored rather than crash.
- Refactored use of
digfor compatibility with Ruby < 2.3.
replyandtypeare now available on any incoming entry (such as messages or postbacks).- With the introduction of configuration providers, bots may now be installed to multiple Facebook Pages.
Incoming::Messagenow has anecho?method which returns a boolean describing whether the message was an echo.
Bot.delivernow requires a keyword argumentaccess_token.Facebook::Messenger.configuration.verify_token,app_secretandaccess_tokenare replaced by configuration providers.
- Fixed a bug that caused
Message.quick_repliesto crash when a quick reply wasn't used.
Message.quick_repliesis nowMessage.quick_reply.
- Quick replies.
- Account linking.
- Fixed a bug that caused
readto be ignored.
Incoming::Messagenow has arecipientmethod for consistency.- Thread settings for welcome messages and persistent menu.
- Welcome messages (these are now thread settings).
- Welcome messages.
- Support for read messages (although it isn't documented yet, Facebook is known to send these).
- Fix an issue that would crash the bot when Facebook neglects to send the
X-Hub-Signatureheader. This will now fail with a warning and prompt Facebook to retry.
- You may now verify that the message is from Facebook by
configuring
app_secret. - Support for Rack 2.
- Support for receiving attachments from the user.
- Fix a bug that caused
Subscriptions.subscribeandSubscriptions.unsubscribeto not raise errors.
- Fix a bug that caused
Bot.deliverto return'message_id'for successful deliveries andnilfor unsuccessful deliveries instead of a message ID or appropriate exceptions.
- Support for threaded servers.
- Fix a bug that caused a
NoMethodErrorwith no hooks at all.
- Add support for optins.
- Fix a bug that prevented registering postbacks.
- Everything!
- Nothing; release an empty codebase to snag the name.