ChatMessageHelper class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
getMessageBrief(NIMMessage message)
→ String
-
-
getMultiLineMessageMap({String? title, String? content})
→ Map<String, dynamic>?
-
-
getReplayMessageText(BuildContext context, String replayMessageId, String sessionId, NIMSessionType sessionType)
→ Future<String>
-
-
imageSpan(String? tag)
→ WidgetSpan?
-
处理文本消息中的表情
-
showForwardMessageDialog(BuildContext context, ForwardMessageFunction forwardMessage, {List<String>? filterUser, required String sessionName, ForwardType type = ForwardType.normal})
→ void
-
显示转发选择框
-
textSpan(BuildContext context, String text, int start, {int? end, ChatUIConfig? chatUIConfig, Map<String, dynamic>? remoteExtension})
→ List<TextSpan>
-
解析Text消息,将@消息和普通文本分开