4.0.5
New
- Introduced
Reaction
andReactionEvent
classes to enhance the functionality of message reactions introduced in v4.0.3. - Added
ReactionsRequest
class as a replacement forReactionRequest
class introduced in v4.0.3. - Added
ReactionsRequestBuilder
class as a replacement forReactionRequestBuilder
class introduced in v4.0.3. - Introduced Enhanced Push Notification Feature.
- Added
PushPreferences
, GroupPreferences,
MutePreferences,
MutedConversation,
UnmutedConversation&
DaySchedule` classes - Added method
registerPushToken
method to register push token. - Added method
unregisterPushToken
method to unregister push token. - Added method
muteConversations
method to mute push notifications of conversations. - Added method
unmuteConversations
method to unmute push notifications of conversations. - Added method
fetchPushPreferences
,updatePushPreferences
&resetPushPreferences
to fetch, update & reset push preferences.
- Added
Enhancements
- The real-time listeners
onMessageReactionAdded
andonMessageReactionRemoved
have been improved to return an object ofReactionEvent
class, providing a more robust event model. ReactionsRequestBuilder
has been enhanced to return a list ofReaction
objects, offering a more intuitive and consistent API.
Removals
- Removed the
MessageReaction
class introduced in v4.0.3, transitioning its responsibilities to the newReaction
andReactionEvent
classes. - Removed
myMentionsOnly
method fromMessagesRequestBuilder
introduced in v4.0.2.