MessageResolverExtension extension Null safety

Extends Message class with MessageResolver

on

Methods

resolveContent({TagHandling userTagHandling = TagHandling.sanitize, TagHandling roleTagHandling = TagHandling.sanitize, TagHandling everyoneTagHandling = TagHandling.sanitize, TagHandling channelTagHandling = TagHandling.sanitize, TagHandling emojiTagHandling = TagHandling.sanitize}) FutureOr<String>
Resolves raw message content to human readable string. Allows to set what to do with particular parts of message. Each mention, channel reference and emoji can be resolved by TagHandling