Modules
Links a LINE user to an account in your own service (account linking).
Information about the bot / LINE Official Account.
Issue, verify, and revoke channel access tokens for the Messaging API.
Download media that users sent (image/video/audio/file) and check its status.
Coupon management API (create / list / detail / close).
Group and multi-person room APIs: summary, member counts/ids/profiles, and leaving.
Aggregation-unit usage for the Messaging API.
LINE Official Account membership (paid subscription) information.
LINE Messaging API send endpoints.
Fetch user profiles and follower IDs via the Messaging API.
Rich menu API: create/manage rich menus, upload their images, set the default, link per-user, manage aliases, and run bulk (batch) operations.
Manage the channel's webhook endpoint setting (get / set / test).
Builds and signs the JWT assertion used by the JWT-based channel-access-token
endpoints (ExLine.Api.ChannelAccessToken.issue_jwt/2,
issue_stateless_with_jwt/2, key_ids/2).
A GenServer that caches a channel access token and refreshes it before it expires.
Holds the Messaging API credentials and HTTP configuration as a plain value.
Behaviour for the HTTP transport used by ExLine.Client.
Default ExLine.Client.Adapter implementation backed by Req.
Normalized error returned by ExLine API calls.
Behaviour + convenience macro for implementing LINE event handlers dispatched by
ExLine.EventRouter.
A DSL for routing parsed LINE webhook events (ExLine.Webhook structs) to
handlers.
Builders for LINE message objects.
Builders for LINE action objects (used in templates, quick replies, imagemaps).
Builders for Flex Message containers and components.
Builders for imagemap sub-objects: tappable areas and their actions, plus the
base size, used by ExLine.Message.imagemap/5.
Builders for LINE template messages.
Parse incoming LINE webhook payloads into event structs.
A custom Plug.Parsers body reader that caches the raw request body in
conn.assigns[:raw_body], so ExLine.Webhook.Plug can verify the LINE
signature after the JSON parser has consumed the stream.
Result of an account link (link token flow).
A module channel was activated (gained chat control).
A user entered the range of a LINE Beacon.
The bot was resumed.
The bot was suspended (e.g. a chat was handed to a human operator).
A module channel was deactivated (lost chat control).
A user added the bot as a friend (or unblocked it).
The bot joined a group or room.
The bot was removed from a group or room.
A user joined a group/room the bot is in. joined is %{members: [Source]}.
A user left a group/room the bot is in. left is %{members: [Source]}.
A change to a user's paid membership for the account.
A user sent a message. message is an ExLine.Webhook.Message struct.
A module channel event (attach/detach, etc.).
Delivery completion for a LINE notification message (PNP).
A postback action fired. postback is %{data: ..., params: ...}.
A user blocked the bot.
Fallback for an event type ExLine does not model (a less common or newly added type). The envelope is still parsed; full payload is in raw.
A user unsent (withdrew) a message.
A user finished playing a video message (with a tracking id).
Parses the message content of an ExLine.Webhook.Event.Message.
Audio message content.
File message content.
Image message content.
Location message content.
Sticker message content.
Text message content (ExLine.Webhook.Event.Message).
Fallback for an unrecognized message content type.
Video message content.
Plug that verifies the LINE webhook signature and halts with 401 on failure.
Verifies the x-line-signature header on incoming webhook requests.
The origin of a webhook event: a user, group, or room.