Message.fromCallbacks constructor
const
Message.fromCallbacks({})
Creates a new Message instance from callbacks.
Implementation
const factory Message.fromCallbacks({
required Future<String> Function(Gateway gateway) template,
required Future<String> Function(Gateway gateway) text,
required Future<Map<String, dynamic>> Function(Gateway gateway) data,
}) = _CallbackMessage;