preMessageSending property

(FutureOr<Message> Function(Message)?) preMessageSending
final

Function called right before sending the message.

Use this to transform the message.

Implementation

final FutureOr<Message> Function(Message)? preMessageSending;