Middleware ID: catbaron.link_preview
LinkPreview is a middleware for EFB to generqate link preview for the first url contained by the message.
\np
at the begining of message to avoid link preview for current message.You need to use MessageBlocker on top of EFB. Please check the document and install EFB first.
pip install efb-link-preview-middleware
~/.ehforwarderbot/profiles/default
. It should look like:
master_channel: foo.demo_master
slave_channels:
- foo.demo_slave
- bar.dummy
middlewares:
- foo.other_middlewares
- catbaron.link_preview
You only need to add the last line to your config file.