AttachmentLimitExceedListener typedef
A callback that can be passed to StreamMessageInput.onAttachmentLimitExceed.
This callback should not throw.
It exists merely for showing custom error, and should not be used otherwise.
Implementation
typedef AttachmentLimitExceedListener = void Function(
int limit,
String error,
);