- [New] changeAdminStatus: Function to add/remove admins in group threads (#659)
- [Fix] Logging in using login approvals (2FA) now work (#548)
- [New] listen: Adds field
mentions
that stores an array of ids of users tagged in the message (#510) - [Breaking change] getThreadList: Removes deprecated fields in returned object, adds some new fields (#488)
- [Breaking change] getThreadInfo: Removes deprecated fields in returned object, adds some new fields (#488)
- [New] getEmojiUrl: Adds utility function for getting the image URL for a Messenger-style emoji (#477)
- [Breaking change] changeThreadColor: Due to Facebook backend changes, the thread color can no longer be set to an arbitrary hex value. Color validation and
api.threadColors
have been added to facilitate this change (#512) - getThreadHistory: Fix crash when the author of an old message is no longer available (#521)
- [New] message: Adds field
isUnread
that represents whether or not the message was read (#519)
- [Breaking change] getThreadHistory: update parameters - no more start & end params; replaced with amount (#453)
- [New] setMessageReaction: set reaction on message (#427, #437, #445)
- [New] forwardAttachment: send attachment to array of users (#435)
- setMessage: added Mentions field (#460)
- sendTypingIndicator: make callback optional (#457)
- getUserID: returns all results instead of just users; callback obj array now includes a type (generally user, group, page, event or app) (#459)
- [Internal] Async function support (#425)
- [New] changeBlockedStatus: combines blockUser & unblockUser functions (#369)
- changeThreadColor: callback is now optional (#367)
- [Internal] getThreadHistory: callback arrays will be error filtered before returned (#360)
- [New] muteThread: mute a chat for a period of time, or unmute a chat (#295)
- [New] handleMessageRequest: accept or ignore message request(s) (#301)
- getThreadList: optional type argument; can be 'inbox', 'pending', or 'archived'. Inbox is default (#301)