changedInput schema / properties / message / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 5000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "alt_text": {
- "maxLength": 400,
- "minLength": 1,
- "type": "string"
- },
- "data": {
- "additionalProperties": {},
- "default": {},
- "type": "object"
- },
- "template": {
- "enum": [
- "receipt",
- "voucher",
- "shipping_update",
- "order_confirm",
- "appointment_reminder",
- "promo_simple",
- "course_cert",
- "thank_you"
- ],
- "type": "string"
- }
- },
- "required": [
- "template"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "alt_text": {
- "maxLength": 400,
- "minLength": 1,
- "type": "string"
- },
- "flex_json": {
- "additionalProperties": {},
- "type": "object"
- }
- },
- "required": [
- "flex_json",
- "alt_text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "sticker": {
- "additionalProperties": false,
- "properties": {
- "package_id": {
- "type": "string"
- },
- "sticker_id": {
- "type": "string"
- }
- },
- "required": [
- "package_id",
- "sticker_id"
- ],
- "type": "object"
- }
- },
- "required": [
- "sticker"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "coupon_id": {
- "minLength": 1,
- "type": "string"
- },
- "delivery_tag": {
- "description": "Insight path label (≤30, [A-Za-z0-9_]).",
- "maxLength": 30,
- "pattern": "^[A-Za-z0-9_]+$",
- "type": "string"
- }
- },
- "required": [
- "coupon_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "image": {
- "additionalProperties": false,
- "properties": {
- "original_content_url": {
- "description": "HTTPS JPEG/PNG, the full-size image",
- "format": "uri",
- "type": "string"
- },
- "preview_image_url": {
- "description": "HTTPS JPEG/PNG, the preview thumbnail",
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "original_content_url",
- "preview_image_url"
- ],
- "type": "object"
- }
- },
- "required": [
- "image"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "video": {
- "additionalProperties": false,
- "properties": {
- "original_content_url": {
- "description": "HTTPS mp4, ≤200MB, host must support range requests",
- "format": "uri",
- "type": "string"
- },
- "preview_image_url": {
- "description": "HTTPS JPEG/PNG preview",
- "format": "uri",
- "type": "string"
- },
- "tracking_id": {
- "description": "Optional; fires the videoPlayComplete webhook when the user finishes the video",
- "type": "string"
- }
- },
- "required": [
- "original_content_url",
- "preview_image_url"
- ],
- "type": "object"
- }
- },
- "required": [
- "video"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "message_json": {
- "additionalProperties": {},
- "description": "A complete LINE message object with a `type` field (imagemap | template | flex | text | sticker | image | video)",
- "type": "object"
- }
- },
- "required": [
- "message_json"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 5000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "alt_text": {
+ "maxLength": 400,
+ "minLength": 1,
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": {},
+ "default": {},
+ "type": "object"
+ },
+ "template": {
+ "enum": [
+ "receipt",
+ "voucher",
+ "shipping_update",
+ "order_confirm",
+ "appointment_reminder",
+ "promo_simple",
+ "course_cert",
+ "thank_you"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "template"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "alt_text": {
+ "maxLength": 400,
+ "minLength": 1,
+ "type": "string"
+ },
+ "flex_json": {
+ "additionalProperties": {},
+ "type": "object"
+ }
+ },
+ "required": [
+ "flex_json",
+ "alt_text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "sticker": {
+ "additionalProperties": false,
+ "properties": {
+ "package_id": {
+ "type": "string"
+ },
+ "sticker_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "package_id",
+ "sticker_id"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "sticker"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "coupon_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "delivery_tag": {
+ "description": "Insight path label (≤30, [A-Za-z0-9_]).",
+ "maxLength": 30,
+ "pattern": "^[A-Za-z0-9_]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "coupon_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "original_content_url": {
+ "description": "HTTPS JPEG/PNG, the full-size image",
+ "format": "uri",
+ "type": "string"
+ },
+ "preview_image_url": {
+ "description": "HTTPS JPEG/PNG, the preview thumbnail",
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "original_content_url",
+ "preview_image_url"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "prepared_key": {
+ "description": "Key returned by line_prepare_image (purpose 'image_message') — URLs are filled in automatically",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "prepared_key"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "video": {
+ "additionalProperties": false,
+ "properties": {
+ "original_content_url": {
+ "description": "HTTPS mp4, ≤200MB, host must support range requests",
+ "format": "uri",
+ "type": "string"
+ },
+ "preview_image_url": {
+ "description": "HTTPS JPEG/PNG preview",
+ "format": "uri",
+ "type": "string"
+ },
+ "tracking_id": {
+ "description": "Optional; fires the videoPlayComplete webhook when the user finishes the video",
+ "type": "string"
+ }
+ },
+ "required": [
+ "original_content_url",
+ "preview_image_url"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "video"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "message_json": {
+ "additionalProperties": {},
+ "description": "A complete LINE message object with a `type` field (imagemap | template | flex | text | sticker | image | video)",
+ "type": "object"
+ }
+ },
+ "required": [
+ "message_json"
+ ],
+ "type": "object"
+ }
+]