ChatwootClientServiceImpl class
- Inheritance
-
- Object
- ChatwootClientService
- ChatwootClientServiceImpl
Constructors
- ChatwootClientServiceImpl(String baseUrl, {required Dio dio})
Properties
- connection ↔ WebSocketChannel?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createMessage(
ChatwootNewMessageRequest request) → Future< ChatwootMessage> -
Sends message to chatwoot inbox
override
-
getAllMessages(
) → Future< List< ChatwootMessage> > -
Gets all messages of current chatwoot client instance's conversation
override
-
getContact(
) → Future< ChatwootContact> -
Gets contact of current chatwoot client instance
override
-
getConversations(
) → Future< List< ChatwootConversation> > -
Gets all conversation of current chatwoot client instance
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendAction(
String contactPubsubToken, ChatwootActionType actionType) → void -
override
-
startWebSocketConnection(
String contactPubsubToken, {WebSocketChannel onStartConnection(Uri)?}) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateContact(
dynamic update) → Future< ChatwootContact> -
Update current client instance's contact
override
-
updateMessage(
String messageIdentifier, dynamic update) → Future< ChatwootMessage> -
Update message with id
messageIdentifier
with contents ofupdate
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited