0

我正在使用 gupshup API 来创建模板和简单的模板,并且通过号召性用语工作,当尝试使用快速回复进行创建时,问题就来了。我以这种方式发送数据:

“按钮”:[{“类型”:“文本”,“文本”:“呼叫”}],

data: The response of gupShup should of are this: Hello this a test. | [Call]

但只是:

data: The response of gupShup should of are this: Hello this a test.

我的问题是如何在 gupShup API 中创建一个快速重复的模板对象

4

1 回答 1

0

您需要更改按钮对象内的类型。

“按钮”:[{“类型”:“QUICK_REPLY”,“文本”:“在此处连接”}],

有 3 种不同类型的按钮:PHONE_NUMBER、URL 和 QUICK_REPLY

您可以在此处找到 Facebook 文档:https ://developers.facebook.com/docs/whatsapp/business-management-api/message-templates#creating-message-templates

祝你好运!

于 2022-01-17T22:50:54.147 回答