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 Properties

platformVersion Future<String?>
no setter

Static Methods

getUnreadRepliesCount(Function function) Future<void>
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(Function function) Future<void>
Tells whether the user has chats already or not. function - 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(Function function) Future<void>
Sets a block of code that gets executed when a new message is received. function - A callback that gets executed when a new message is received.
show() Future<void>
Manual invocation for replies.