action.json 1.79 KB
{
    "action": {
        "type": "text",
        "text": "Hello Quick Reply!",
        "quickReply": {
            "items": [
                {
                    "type": "action",
                    "action": {
                        "type": "uri",
                        "label": "Add to Cart",
                        "uri": "https://developers.line.me"
                    }
                },
                {
                    "type": "action",
                    "action": {
                        "type": "postback",
                        "label": "Postback",
                        "data": "action=buy&itemid=123"
                    }
                },
                {
                    "type": "action",
                    "action": {
                        "type": "datetimepicker",
                        "label": "Datetime Picker",
                        "data": "storeId=12345",
                        "mode": "datetime",
                        "initial": "2018-09-11T00:00",
                        "max": "2018-12-31T23:59",
                        "min": "2018-01-01T00:00"
                    }
                },
                {
                    "type": "action",
                    "action": {
                        "type": "camera",
                        "label": "Camera"
                    }
                },
                {
                    "type": "action",
                    "action": {
                        "type": "cameraRoll",
                        "label": "Gallery"
                    }
                },
                {
                    "type": "action",
                    "action": {
                        "type": "location",
                        "label": "Location"
                    }
                }
            ]
        }
    }
}