Skip to content

Can't send image and quick replies #4

@stefanmm

Description

@stefanmm

Hi,

I tried to send image and quick replies in one message (or in two in row) but it's not possible. I have working code but for native Facebook messenger bot code, not for framework:

message: {
            attachment: {
                type: "image",
                payload: {
                    url: "ULR_OF_IMAGE"
                }
            },
            quick_replies: [{
                    content_type: "text",
                    title: "Scroll down",
                    payload: "scroll_down_payload"
                },
                {
                    content_type: "text",
                    title: "Scroll up",
                    payload: "YOUR_DEFINED_PAYLOAD_FOR_NEXT_IMAGE"
                },
                {
                    content_type: "text",
                    title: "Scroll top",
                    payload: "YOUR_DEFINED_PAYLOAD_FOR_NEXT_IMAGE"
                }
            ]
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions