OnAttachmentPressed typedef

OnAttachmentPressed = Future<void> Function({Message? repliedTo})?

The callback to handle attachment button click.

Starting from v1.0.0, the callback passes a message to reply to if the user marks a message for replying.

Implementation

typedef OnAttachmentPressed = Future<void> Function({Message? repliedTo})?;