MissingEntityHandler typedef Null safety

MissingEntityHandler = FutureOr<String> Function(String entityType)

Allows to return custom messages in case of missing entities when resolving message content. entityType could be either role, channel or user.

Implementation

typedef MissingEntityHandler = FutureOr<String> Function(String entityType);