canHandle

abstract fun canHandle(message: Message): Boolean

Checks if this AttachmentFactory can consume attachments from the given message.

Return

True if the factory can handle the attachments from this message.

Parameters

message

The message containing custom attachments that we are going to render.