Repository navigation
feat(line): add LINE Messaging API channel integration - #1721
Merged
Merged
Conversation
hoangle398
force-pushed
the
feat/line-channel-integration
branch
3 times, most recently
from
November 15, 2026 08:28
d25c7e0 to
c54c7fb
Compare
hoangle398
requested review from
realcodesiman,
sung17 and
viethung0o0
and removed request for
sung17 and
viethung0o0
November 15, 2026 08:29
Channel - LINE integration package: API client, channel access token issuing/refresh, webhook signature verification, inbound event mapping, reply/push sending of flow steps - IntegrationLine table, channel registration, connect service and webhook routing; public API for LINE channels plus builder UI to connect, test the webhook and disconnect - Honor LINE blocks via ContactInbox.channelBlockedAt; profile language as contact locale; optional ephemeral store in the SDK integration context - Show LINE in channel options (allInboxConfigs) and allow the Messaging API's 1500-character alt text Flex messages - Every button-bearing LINE message (text with buttons, card, carousel, the buttons after a media step) is built as flex bubbles instead of the buttons/carousel templates, which are removed - Full card titles/subtitles, per-card buttons, up to 12 cards per carousel, and bubble/carousel size budgets enforced without dropping content Button limits and styles - Channel flow policies state separate step (buttonCount) and card (cardButtonCount) button limits; LINE allows 5 of each, enforced at publish, in the builder and when parsing a flow spec (drafts included) - Per-button style (primary/secondary/link) for LINE, editable in the button dialog; the "(default)" entry clears it back to the channel default - Card buttons over the resolved channel's limit are cut at send time with a warning; Messenger/Instagram log a warning when they drop step buttons - LINE sends step and card buttons each at their own policy limit Docs: design spec, channel guide, flows, CLI/MCP docs, live-test results. Flex sending not verified against a live LINE account.
Remove ContactInbox.channelBlockedAt/channelBlockChangedAt and their migrations, contactInboxService.setChannelBlocked, the worker send guard, the follow/unfollow block sync, the clear-on-inbound handler and the broadcast audience exclusion. LINE follow/unfollow are used only for leaderboard scoring again.
hoangle398
force-pushed
the
feat/line-channel-integration
branch
from
November 16, 2026 03:20
c54c7fb to
6f19c7b
Compare
hello-jackytruong
referenced
this pull request
in hello-jackytruong/ChatWorkAI
Nov 22, 2026
* feat(line): add LINE Messaging API channel integration Channel - LINE integration package: API client, channel access token issuing/refresh, webhook signature verification, inbound event mapping, reply/push sending of flow steps - IntegrationLine table, channel registration, connect service and webhook routing; public API for LINE channels plus builder UI to connect, test the webhook and disconnect - Honor LINE blocks via ContactInbox.channelBlockedAt; profile language as contact locale; optional ephemeral store in the SDK integration context - Show LINE in channel options (allInboxConfigs) and allow the Messaging API's 1500-character alt text Flex messages - Every button-bearing LINE message (text with buttons, card, carousel, the buttons after a media step) is built as flex bubbles instead of the buttons/carousel templates, which are removed - Full card titles/subtitles, per-card buttons, up to 12 cards per carousel, and bubble/carousel size budgets enforced without dropping content Button limits and styles - Channel flow policies state separate step (buttonCount) and card (cardButtonCount) button limits; LINE allows 5 of each, enforced at publish, in the builder and when parsing a flow spec (drafts included) - Per-button style (primary/secondary/link) for LINE, editable in the button dialog; the "(default)" entry clears it back to the channel default - Card buttons over the resolved channel's limit are cut at send time with a warning; Messenger/Instagram log a warning when they drop step buttons - LINE sends step and card buttons each at their own policy limit Docs: design spec, channel guide, flows, CLI/MCP docs, live-test results. Flex sending not verified against a live LINE account. * refactor(line): drop LINE block tracking Remove ContactInbox.channelBlockedAt/channelBlockChangedAt and their migrations, contactInboxService.setChannelBlocked, the worker send guard, the follow/unfollow block sync, the clear-on-inbound handler and the broadcast audience exclusion. LINE follow/unfollow are used only for leaderboard scoring again.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds LINE (Messaging API) as a new channel.
Channel
IntegrationLinetable, channel registration, connect service and webhook routing; public API for LINE channels plus builder UI to connect, test the webhook and disconnectallInboxConfigs); 1500-character alt text allowedFlex messages
Button limits and styles
buttonCount) and card (cardButtonCount) button limits; LINE allows 5 of each, enforced at publish, in the builder and when parsing a flow spec (drafts included)Docs
Design spec, channel guide (
docs/line.md), flows, CLI/MCP docs, live-test results.Notes
follow/unfolloware used only for leaderboard scoring.Test plan
pnpm lintandpnpm check-typespass in CI