Replies class

Constructors

Replies()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getUnreadRepliesCount() Future<int>
Returns the number of unread messages the user currently has. Use this method to get the number of unread messages the user has, then possibly notify them about it with your own UI. function callback with argument Notifications count, or -1 in case the SDK has not been initialized.
hasChats() Future<bool>
Tells whether the user has chats already or not. callback - callback that is invoked if chats exist
setEnabled(bool isEnabled) Future<void>
Enables and disables everything related to receiving replies. boolean isEnabled
setInAppNotificationsEnabled(bool isEnabled) Future<void>
Enables/disables showing in-app notifications when the user receives a new message. isEnabled A boolean to set whether notifications are enabled or disabled.
setInAppNotificationSound(bool isEnabled) Future<void>
Set whether new in app notification received will play a small sound notification or not (Default is {@code false}) isEnabled A boolean to set whether notifications sound should be played. @android ONLY
setOnNewReplyReceivedCallback(OnNewReplyReceivedCallback callback) Future<void>
Sets a block of code that gets executed when a new message is received. callback - A callback that gets executed when a new message is received.
show() Future<void>
Manual invocation for replies.