MentionFormatter
Methods
MentionFormatter.mentionUser(userId : string) : string
Returns the string representation of a user mention.
Parameters
- userId: The id of the user you want to mention.
MentionFormatter.mentionRole(roleId : string) : string
Returns the string representation of a role mention.
Parameters
- roleId: The id of the role you want to mention.
MentionFormatter.mentionChannel(channelId : string) : string
Returns the string representation of a channel mention.
Parameters
- channelId: The id of the channel you want to mention.