BytedeskMessageHttpApi class

Inheritance

Constructors

BytedeskMessageHttpApi()

Properties

baseUrl String
getter/setter pairinherited
client String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
httpClient → Client
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getHeaders() Map<String, String>
inherited
getHeadersForVisitor() Map<String, String>
inherited
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>>
loadUnreadMessages(String? wid, int? page, int? size) Future<List<Message>>
查询当前用户-某技能组wid或指定客服未读消息 注意:技能组wid或指定客服唯一id 适用于 访客 和 客服
loadUnreadMessagesAgent(int? page, int? size) Future<List<Message>>
loadUnreadMessagesVisitor(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) Future<RequestAnswerResult>
queryAnswer2(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