ChatRoomService class abstract

Implementers

Constructors

ChatRoomService.new()

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

bindResponse(ChatroomResponse response) → void
Description Binding a listener to receive callback events.
chatroomOperating({required String roomId, required ChatroomOperationType type}) Future<void>
Description Chatroom operation events.
dispose() → void
fetchAnnouncement({required String roomId}) Future<String?>
Description Get chatroom announcement.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
operatingUser({required String roomId, required ChatroomUserOperationType type, required String userId}) Future<void>
Description Various operations of group owners or administrators on users.
recall({required String roomId, required Message message}) Future<void>
Report illegal message.
report({required String messageId, required String tag, required String reason}) Future<void>
Report illegal message.
sendCustomMessage({required String roomId, required String event, required Map<String, String> params, List<String>? receiver}) Future<void>
Description Send targeted custom messages to some members of the chat room
sendRoomMessage({required String roomId, required String message, List<String>? receiver}) Future<void>
Description Send targeted text messages to some members of the chat room
toString() String
A string representation of this object.
inherited
translateMessage({required String roomId, required Message message, required LanguageCode language}) Future<Message>
Description Translate the specified message
unbindResponse(ChatroomResponse response) → void
Description Unbind the listener.
updateAnnouncement({required String roomId, required String announcement}) Future<void>
Description Update chatroom announcement

Operators

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