MessageX extension
Extensions on Message
- on
Methods
-
replaceMentions(
{bool linkify = true}) → Message - It replaces the user mentions with the actual user names.
-
replaceMentionsWithId(
) → Message - It returns the message replacing the mentioned user names with the respective user ids
-
translate(
String language) → Message - It returns the message with the translated text if available locally