V2TIMMessageManager class

Constructors

V2TIMMessageManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
messageIDMap Map<String, dynamic>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAdvancedMsgListener(V2TimAdvancedMsgListener listener, String? listenerUuid) → void
addMessageReaction({required String msgID, required String reactionID}) Future<V2TimCallback>
clearC2CHistoryMessage() Future<V2TimCallback>
clearGroupHistoryMessage() Future<V2TimCallback>
createCustomMessage({required String data, String? desc, String? extension}) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
createFaceMessage({required int index, required String data}) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
createFileMessage(Map<String, dynamic> params) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
createForwardMessage({required String msgID}) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
createImageMessage(Map<String, dynamic> params) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
createLocationMessage({required String desc, required double longitude, required double latitude}) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
createMergerMessage({required List<String> msgIDList, required String title, required List<String> abstractList, required String compatibleText, List<String>? webMessageInstanceList}) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
createMessage<T, F>({required String type, required Map<String, dynamic> params}) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
createTextAtMessage({required String text, required List<String> atUserList}) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
createTextMessage({required String text}) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
createVideoMessage(Map<String, dynamic> params) Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
deleteMessageFromLocalStorage() Future<V2TimCallback>
deleteMessages(dynamic params) Future<V2TimCallback>
downloadMergerMessage({required String msgID}) Future<V2TimValueCallback<List<V2TimMessage>>>
findMessages({required List<String> messageIDList}) Future<V2TimValueCallback<List<V2TimMessage>>>
getAllUserListOfMessageReaction({required String msgID, required String reactionID, required int nextSeq, required int count, String? webMessageInstance}) Future<V2TimValueCallback<V2TimMessageReactionUserResult>>
getC2CHistoryMessageList(dynamic params) Future<V2TimValueCallback<List<V2TimMessage>>>
getC2CHistoryMessageListV2(dynamic params) Future<V2TimValueCallback<V2TimMessageListResult>>
getC2CReceiveMessageOpt() Future
getGroupHistoryMessageList(dynamic params) Future<V2TimValueCallback<List<V2TimMessage>>>
getGroupMessageReadMemberList({required String messageID, required GetGroupMessageReadMemberListFilter filter, int nextSeq = 0, int count = 100}) Future<V2TimValueCallback<V2TimGroupMessageReadMemberList>>
getHistoryMessageListWithoutFormat() Future
getMessageList(dynamic getMsgListParams) Future<V2TimValueCallback<List<V2TimMessage>>>
getMessageListV2(dynamic getMsgListParams) Future<V2TimValueCallback<V2TimMessageListResult>>
getMessageListV2ByLastMessage(dynamic getMsgListParams) Future<V2TimValueCallback<V2TimMessageListResult>>
getMessageReactions({required List<String> msgIDList, required int maxUserCountPerReaction, List<String>? webMessageInstanceList}) Future<V2TimValueCallback<List<V2TimMessageReactionResult>>>
getMessageReadReceipts({required List<String> messageIDList}) Future<V2TimValueCallback<List<V2TimMessageReceipt>>>
handleSetMessageMap(dynamic messageInfo) → dynamic
insertC2CMessageToLocalStorage() Future
insertGroupMessageToLocalStorage() Future
markC2CMessageAsRead(dynamic params) Future<V2TimCallback>
markGroupMessageAsRead(dynamic params) Future
markMsgReaded(dynamic markMsgReadedParams) Future
modifyMessage({required V2TimMessage message}) Future<V2TimValueCallback<V2TimMessageChangeInfo>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAdvancedMsgListener(String? listenerUuid, bool hasListener) → void
removeMessageReaction({required String msgID, required String reactionID}) Future<V2TimCallback>
reSendMessage(Map<String, dynamic> params) Future
revokeMessage(dynamic params) Future
searchLocalMessages() Future
sendCustomMessage<T, F>(Map<String, dynamic> params) Future<T>
sendFaceMessage<T, F>(Map<String, dynamic> params) Future<T>
sendFileMessage<T, F>(Map<String, dynamic> params) Future<T>
sendForwardMessage<T, F>(Map<String, dynamic> params) Future<T>
sendImageMessage<T, F>(Map<String, dynamic> params) Future<T>
sendLocationMessage<T, F>(Map<String, dynamic> params) Future<T>
sendMergerMessage<T, F>(Map<String, dynamic> params) Future<T>
sendMessage<T, F>({required String type, required Map<String, dynamic> params}) Future
sendMessageForNew<T, F>({required Map<String, dynamic> params}) Future<V2TimValueCallback<V2TimMessage>>
sendMessageReadReceipts({required List<String> messageIDList}) Future<V2TimCallback>
sendSoundMessage() Future<V2TimValueCallback<V2TimMessage>>
sendTextAtMessage<T, F>(Map<String, dynamic> params) Future<T>
sendTextMessage<T, F>(Map<String, dynamic> params) Future<T>
sendVideoMessage<T, F>(Map<String, dynamic> params) Future<T>
setC2CReceiveMessageOpt({required List<String> userIDList, required int opt}) Future<V2TimCallback>
setCloudCustomData() Future<V2TimCallback>
setGroupReceiveMessageOpt(dynamic params) Future<V2TimCallback>
setLocalCustomData() Future<V2TimCallback>
setLocalCustomInt() Future<V2TimCallback>
toString() String
A string representation of this object.
inherited
translateText({required List<String> texts, required String targetLanguage, String? sourceLanguage}) Future<V2TimValueCallback<Map<String, String>>>

Operators

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

Static Properties

mergerMsgList List
getter/setter pair
messageListener Map<String, V2TimAdvancedMsgListener>
getter/setter pair
timeweb TencentCloudChat?
getter/setter pair

Static Methods

currentTimeMillis() int
generateDartListObject(List params) List<Object>
parseWebMessageInstanceList(List webMessageInstanceList) → dynamic
submitMessageModified() → void
submitMessageReadReceipt() → void
submitMessageRevoked() → void
submitRecvNewMessage() → void
submiyMessageReactionChanged() → void