docs/en/platform/line.md
Version v4.17.0.
| Message Type | Receive Support | Send Support | Notes |
|---|---|---|---|
| Text | Yes | Yes | |
| Image | Yes | Yes | |
| Voice | Yes | Yes | |
| Video | Yes | Yes | |
| File | Yes | Yes | |
| Sticker | Yes | No |
Proactive message push: Supported.
Messaging API channel (not a LINE Login channel)Messaging API pageYou need the following values:
channel_secretchannel_access_tokenHow to get them:
Channel secret from Basic settingsChannel access token on the Messaging API pageBots in the left sidebar+ Create BotlineFill in these fields:
ID: Custom identifier to distinguish instancesEnable: CheckedLINE Channel Access Token: your channel_access_tokenLINE Channel Secret: your channel_secretLINE Bot User ID: optional; if empty, AstrBot uses webhook destinationClick Save.
The LINE adapter supports unified webhook mode only.
After saving, click View Webhook URL on the bot card and copy the URL.
Then in LINE Developers Console:
Messaging APIWebhook settings -> Webhook URLVerifyUse webhook[!TIP] If AstrBot is not publicly reachable, set up a public domain and reverse proxy first so LINE can access your webhook URL.
hi)If you want to use it in a group, invite the Official Account to the group first.