-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Hi, I would like to send HSM having components.
The raw json is like below.
{
"to": "{number}",
"from": "{channel}",
"type": "hsm",
"content": {
"hsm": {
"namespace": "{namespace},
"templateName": "{template_name}",
"language": {
"code": "id"
},
"components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "some text here"
},
{
"type": "button",
"sub_type": "url",
"index": 0,
"parameters": [
{
"type": "text",
"text": "button text"
}
]
}
]
}
]
}
}
}
However, conversation.HSM type does not seem to have a way to set the components.
How to do it?
Metadata
Metadata
Assignees
Labels
No labels