From 23d71e9f3bf19eec901374c035cf2f0cb2d90f8b Mon Sep 17 00:00:00 2001 From: Rajeh Taher Date: Sat, 22 Oct 2022 22:01:37 +0300 Subject: [PATCH] Update Buttons.js --- src/structures/Buttons.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/Buttons.js b/src/structures/Buttons.js index 925751d..908f2bb 100644 --- a/src/structures/Buttons.js +++ b/src/structures/Buttons.js @@ -78,7 +78,7 @@ class Buttons { return buttons.map((button, index) => { if (button.url && button.number && button.id) throw 'Only pick one of the following (url/number/id)'; if (button.number) { - throw 'number buttons are not supported yet'; + throw 'Not supported, URL and Call buttons are not supported on IOS'; /* return { index, callButton: { @@ -87,7 +87,7 @@ class Buttons { } }; */ } else if (button.url) { - throw 'URL buttons are not supported yet'; + throw 'Not supported, URL and Call buttons are not supported on IOS'; /* return { index, urlButton: {