---
title: Buttons
slug: buttons
createdAt: 2024-08-22T04:53:17.390Z
---

Anda dapat menggunakan buttons dengan setiap jenis: `call`, `url`, `node`.&#x20;

:::BlockQuote
\{
&#x20; "version": "v1",
&#x20; "content": \{
&#x20;   "messages": \[
&#x20;     \{
&#x20;       "type": "text",
&#x20;       "text": "simple text",
&#x20;       "buttons": \[
&#x20;         \{
&#x20;           "type": "url",
&#x20;           "caption": "External link",
&#x20;           "url": "https\://uchat.com.au",
&#x20;         },
&#x20;         \{
&#x20;           ...Another buttons
&#x20;         }
&#x20;       ]
&#x20;     },
&#x20;     \{
&#x20;       ...Another messages
&#x20;     }
&#x20;   ],
&#x20;   "actions": \[  //optional
&#x20;     \{
&#x20;       "action": "add\_tag",
&#x20;       "tag\_name": "example tag"
&#x20;     },
&#x20;     \{
&#x20;       ...Another actions
&#x20;     }
&#x20;   ],
&#x20;   "quick\_replies": \[ //optional
&#x20;     \{
&#x20;       "type": "node",
&#x20;       "caption": "Quick reply text",
&#x20;       "target": "My Content"
&#x20;     },
&#x20;     \{
&#x20;       ...Another quick replies
&#x20;     }
&#x20;   ]
&#x20; }
}

:::

