broadcast_flex_message
Send customizable flex messages to all LINE Official Account followers using bubble or carousel layouts for rich, interactive content delivery.
Instructions
Broadcast a highly customizable flex message via LINE to all users who have added your LINE Official Account. Supports both bubble (single container) and carousel (multiple swipeable bubbles) layouts. Please be aware that this message will be sent to all users.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
message | Yes |
Input Schema (JSON Schema)
{
"properties": {
"message": {
"additionalProperties": false,
"properties": {
"altText": {
"description": "Alternative text shown when flex message cannot be displayed.",
"type": "string"
},
"contents": {
"additionalProperties": true,
"description": "Flexible container structure following LINE Flex Message format. For 'bubble' type, can include header, hero, body, footer, and styles sections. For 'carousel' type, includes an array of bubble containers in the 'contents' property.",
"properties": {
"type": {
"description": "Type of the container. 'bubble' for single container, 'carousel' for multiple swipeable bubbles.",
"enum": [
"bubble",
"carousel"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"type": {
"const": "flex",
"default": "flex",
"type": "string"
}
},
"required": [
"altText",
"contents"
],
"type": "object"
}
},
"required": [
"message"
],
"type": "object"
}