message_resolver library Null safety
Classes
- MessageResolver
- 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
- Regexes
- Collection of regexes for message entities
Extensions
- MessageResolverExtension
-
Extends
Message
class with MessageResolver
Enums
- TagHandling
- Possible types of tag handling for MessageResolver
Typedefs
-
MissingEntityHandler
= FutureOr<
String> Function(String entityType) -
Allows to return custom messages in case of missing entities when resolving message content.
entityType
could be eitherrole
,channel
oruser
.