Renderizo botones en el bot de Viber usando el tipo de mensaje rich_media y la API REST de Viber. Cuando el usuario hace clic en un botón, los botones aún están activos y el usuario puede hacer clic en ellos una vez más. Aquí hay un ejemplo de este comportamiento.
Mi código fuente para renderizar botones:
var reply = { type: "raw", method: "send_message", body: { receiver: $request.data.chatId, sender:{ name: "John McClane", avatar: "http://avatar.example.com" }, min_api_version: 2, type: "rich_media", rich_media: { Type: "rich_media", Buttons: [ { Rows: 1, ActionBody: "Option 1", ActionType: "reply", Text: "Option 1" }, { Rows: 1, ActionBody: "Option 2", ActionType: "reply", Text: "Option 2" }, { Rows: 1, ActionBody: "Option 3", ActionType: "reply", Text: "Option 3" }, ... ] } } }Necesito hacer que estos botones no estén activos o eliminarlos del chat. ¿Cómo puedo lograr eso?