ChatroomMessageBuilder class Null safety

Constructors

ChatroomMessageBuilder()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

createChatroomAudioMessage({required String roomId, required String filePath, required int duration, NIMNosScene nosScene = NIMNosScenes.defaultIm}) Future<NIMResult<NIMChatroomMessage>>
Create an audio message.
createChatroomCustomMessage({required String roomId, NIMMessageAttachment? attachment}) Future<NIMResult<NIMChatroomMessage>>
createChatroomFileMessage({required String roomId, required String filePath, required String displayName, NIMNosScene nosScene = NIMNosScenes.defaultIm}) Future<NIMResult<NIMChatroomMessage>>
Create a file message.
createChatroomImageMessage({required String roomId, required String filePath, String? displayName, NIMNosScene nosScene = NIMNosScenes.defaultIm}) Future<NIMResult<NIMChatroomMessage>>
Create an image message.
createChatroomLocationMessage({required String roomId, required double latitude, required double longitude, required String address}) Future<NIMResult<NIMChatroomMessage>>
Create a location message.
createChatroomRobotMessage({required String roomId, required String robotAccount, required NIMRobotMessageType type, String? text, String? content, String? target, String? params}) Future<NIMResult<NIMChatroomMessage>>
Create a robot message.
createChatroomTextMessage({required String roomId, required String text}) Future<NIMResult<NIMChatroomMessage>>
Create a text message.
createChatroomTipMessage({required String roomId}) Future<NIMResult<NIMChatroomMessage>>
Create a tip message.
createChatroomVideoMessage({required String roomId, required String filePath, required int duration, required int width, required int height, String? displayName, NIMNosScene nosScene = NIMNosScenes.defaultIm}) Future<NIMResult<NIMChatroomMessage>>
Create a video message.