Wannatalkcore class

Constructors

Wannatalkcore()

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

isUserLoggedIn Future<bool>
To check login status
no setter

Static Methods

contactOrganization(String orgID, String channelID, String ticketName, bool closeOldTickets, String message, {required dynamic onCompletion(WTResult result)}) Future<void>
To contact organization
loadChats({required dynamic onCompletion(WTResult result)}) Future<void>
To view all chats
loadOrganizationProfile(bool autoOpenChat, int autoOpenChanenlId, {required dynamic onCompletion(WTResult result)}) Future<void>
To load your organization profile
loadUsers({required dynamic onCompletion(WTResult result)}) Future<void>
To view all users
login({required dynamic onCompletion(WTResult result)}) Future<void>
To login into wannatalk account
logout({required dynamic onCompletion(WTResult result)}) Future<void>
To unlink Wannatalk account
sendProductImage(String receiverUserIdentifier, WTChatInput chatInput, {required dynamic onCompletion(WTResult result)}) Future<void>
To send image message to user
sendTextMessage(String receiverUserIdentifier, String message, {required dynamic onCompletion(WTResult result)}) Future<void>
To send text message to user
setMethodCallHandler({required dynamic onReceivedEvent(WTEventResponse eventResponse)}) → void
silentLogin(String userIdentifier, Map userInfo, {required dynamic onCompletion(WTResult result)}) Future<void>
To login into wannatalk account with user credentials
updateUserImage(String localImagePath, {required dynamic onCompletion(WTResult result)}) Future<void>
To update user profile image
updateUserName(String username, {required dynamic onCompletion(WTResult result)}) Future<void>
To update user profile name