Facebook messenger attachments

Hi, Can some one help me how to handle this.

i.e., when I send an image to messenger, how can I load that image and use that in a custom action?

As of right now, we don’t support parsing images, since the bot wouldn’t know what to do with that information coming in, as all incoming information is parsed as a UserMessage and expects test for parsing, not a url or bytes.

Is there a way an error message be popped up by the bot saying “Sorry I can’t handle this”

You could extend the facebook channel, so that here:

if there is an image, you can do something else, e.g. send an /out_of_scope message to the bot so that it can respond that the user’s request is out of scope