Skip to main content

toActivityMessageText

function toActivityMessageText(message, t): string;

Builds the text shown for an activity message.

The text is derived rather than stored, so that it follows the currently selected language instead of the one in use when the activity happened.

Parameters​

ParameterType
messageActivityChatMessage
tTFunction

Returns​

string