ConversationClient class abstract
- Annotations
-
- @RestApi()
Constructors
- ConversationClient(Dio dio, {String? baseUrl})
-
factory
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
-
blockConversation(
BlockAndUnblockContactRequest request) → Future< ReportOrBlockUserResponse> - REPORT, BLOCK AND UNBLOCK CONTACT
-
closeConversation(
CloseConversationRequest request) → Future< CloseConversationResponse> -
deleteConversation(
String id) → Future< DeleteConversationResponse> -
deleteFacebookMessage(
String uid) → Future< DeleteMessageResponse> -
deleteInstagramMessage(
String uid) → Future< DeleteMessageResponse> -
deleteTwitterMessage(
String uid) → Future< DeleteMessageResponse> -
getAllConversations(
) → Future< GetAllConversations> -
getConversations(
String id) → Future< ConversationModel> - CONVERSATIONS
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reportConversation(
ReportContactRequest request) → Future< ReportOrBlockUserRespponse> -
searchConversation(
Map< String, dynamic> request) → Future<SearchConversation> - SEARCH CONVERSATION
-
sendFacebookMessage(
SendMessageRequest request) → Future< ConversationModel> - MESSAGING
-
sendInstagramMessage(
SendMessageRequest request) → Future< ConversationModel> -
sendTwitterMessage(
SendMessageRequest request) → Future< ConversationModel> -
toString(
) → String -
A string representation of this object.
inherited
-
unblockConversation(
BlockAndUnblockContactRequest request) → Future< ReportOrBlockUserResponse> -
uploadFile(
File files, {required ProgressCallback onSendProgress}) → Future< FileUploadResponse> - FILE UPLOAD
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited