mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 11:39:14 +00:00
Fix buttons sending (#1655)
* Fix buttons sending * Quick reply id must be a string * Update src/util/Injected.js * Update src/structures/Buttons.js Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
This commit is contained in:
@@ -98,7 +98,7 @@ class Buttons {
|
||||
index,
|
||||
quickReplyButton: {
|
||||
displayText: button.body,
|
||||
id: button.id || index
|
||||
id: button.id || `${index}`
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user