MessageRepository class

Constructors

MessageRepository()

Properties

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

Methods

loadChannelMessages(String? cid, int? page, int? size) Future<List<Message>>
loadHistoryMessages(String? uid, int? page, int? size) Future<List<Message>>
loadTidMessagesZhipuAI(String? tid, int? page, int? size) Future<List<MessageZhipuAI>>
loadTopicMessages(String? topic, int? page, int? size) Future<List<Message>>
loadTopicMessagesFileHelper(String? topic, int? page, int? size) Future<List<Message>>
loadUnreadAgentMessages(int? page, int? size) Future<List<Message>>
loadUnreadMessages(String? wid, int? page, int? size) Future<List<Message>>
loadUnreadVisitorMessages(int? page, int? size) Future<List<Message>>
messageAnswer(String? wid, String? content) Future<RequestAnswerResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryAnswer(String? tid, String? aid, String? mid) Future<RequestAnswerResult>
queryCategory(String? tid, String? cid) Future<RequestCategoryResult>
rateAnswer(String? aid, String? mid, bool? rate) Future<RequestAnswerResult>
sendMessageRest(String? jsonString) Future<JsonResult>
sendZhipuAIMessageRest(String? jsonString) Future<JsonResult>
toString() String
A string representation of this object.
inherited
uploadImage(String? filePath) Future<UploadJsonResult>
uploadImageBytes(String? fileName, List<int>? fileBytes, String? mimeType) Future<UploadJsonResult>
uploadVideo(String? filePath) Future<UploadJsonResult>
uploadVideoBytes(String? fileName, List<int>? fileBytes, String? mimeType) Future<UploadJsonResult>

Operators

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