features/chat/utils library

Classes

UserMentionMessageData

Properties

final
mentionedUserLinkRegex RegExp
final

Functions

askToJoinRoom(dynamic context, dynamic ref, String roomId) → void
extractUserIdFromUri(String link) String?
onMessageLinkTap(Uri uri, dynamic context) Future<void>
parseEditMsg(dynamic message) String
parseUserMentionMessage(String message, dynamic aTagElement) UserMentionMessageData
parseUserMentionText(String htmlText, String roomId, dynamic controller, dynamic ref) Future<void>
prepareMsg(dynamic content) String
renderCustomMessageBubble(dynamic message) bool
saveDraft(String text, String roomId, dynamic ref) Future<void>