ChatRoomServiceAction extension

on

Methods

chatroomOperating({required String roomId, required ChatroomOperationType type}) Future<void>

Available on ChatroomUIKitClient, provided by the ChatRoomServiceAction extension

chat room operation method.
fetchMutes({required String roomId, int pageSize = 20, int pageNum = 1}) Future<List<String>>

Available on ChatroomUIKitClient, provided by the ChatRoomServiceAction extension

fetch chat room mute members.
fetchParticipants({required String roomId, int pageSize = 20, String? cursor}) Future<CursorResult<String>>

Available on ChatroomUIKitClient, provided by the ChatRoomServiceAction extension

fetch chat room members.
operatingUser({required String roomId, required ChatroomUserOperationType type, required String userId}) Future<void>

Available on ChatroomUIKitClient, provided by the ChatRoomServiceAction extension

operating chat room user.
recall({required String roomId, required Message message}) Future<void>

Available on ChatroomUIKitClient, provided by the ChatRoomServiceAction extension

recall message. default support recall message which is sent in 2 minutes. you can change it by backend. room owner can recall any message.
report({required String roomId, required String messageId, required String tag, required String reason}) Future<void>

Available on ChatroomUIKitClient, provided by the ChatRoomServiceAction extension

report message.
sendCustomMessage({required String roomId, required String event, required Map<String, String> params, List<String>? receiver}) Future<void>

Available on ChatroomUIKitClient, provided by the ChatRoomServiceAction extension

send custom message.
sendRoomMessage({required String roomId, required String message, List<String>? receiver}) Future<void>

Available on ChatroomUIKitClient, provided by the ChatRoomServiceAction extension

send room message.
translateMessage({required String roomId, required Message message, required LanguageCode language}) Future<Message?>

Available on ChatroomUIKitClient, provided by the ChatRoomServiceAction extension

translate message.