Skip to content

Quick reply button to support Image headers #18

@danchengash

Description

@danchengash
func (m *QuickReplyButtonMessage) SetHeader(text string) {
	m.Header = &QuickReplyButtonMessageHeader{
		Type: "text", // only text is supported
		Text: text,
	}
}

according to the package the quick reply buttons are set to only have text headers , wheareas the actual apis supports more types like images.video

https://developers.facebook.com/docs/whatsapp/cloud-api/messages/interactive-reply-buttons-messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions