Bot Framework connector to Line, just better.
const express =builder =bodyParser = ;var connector =appId: processenvappidappPassword: processenvappkeybot = connector;const lineConnector =channelSecret: "channel secret"channelAccessToken: "access token"debug: false // Switch to true for a bunch of console spam;bot; // Use "directline" so we can cheat BotBuildervar server = ;server; // Requiredserver;server;bot;
- Image, Video, Audio as attachments
- Hero card (List (max 4 buttons) and carousel (max 10 cards x 3 buttons))
- Keyboard buttons
Line API has a lot of super tight limits (Such as: Max 4 buttons on a "Buttons" message, or Max 3 buttons on each card of a "carousel" message, maximum 10 cards per carousel, etc). You will need to change your code (This connector can't convert everything) according to the documentation.