Skip to content

v4.0.4-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@mayur-bhandari mayur-bhandari released this 14 Mar 13:20
· 8 commits to v4 since this release

New

  • Introduced Reaction and ReactionEvent classes to enhance the functionality of message reactions introduced in v4.0.3.
  • Added ReactionsRequest class as a replacement for ReactionRequest class introduced in v4.0.3.
  • Added ReactionsRequestBuilder class as a replacement for ReactionRequestBuilder class introduced in v4.0.3.

Enhancements

  • The real-time listeners onMessageReactionAdded and onMessageReactionRemoved have been improved to return an object of ReactionEvent class, providing a more robust event model.
  • ReactionsRequestBuilder has been enhanced to return a list of Reaction objects, offering a more intuitive and consistent API.

Removals

  • Removed the MessageReaction class introduced in v4.0.3, transitioning its responsibilities to the new Reaction and ReactionEvent classes.
  • Removed myMentionsOnly method from MessagesRequestBuilder introduced in v4.0.2.

Fixes

  • Resolved a sorting problem that resulted in incorrect message order when the token based file access was enabled, improving message sequence integrity.