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:
Shir Serlui
2022-08-15 18:53:28 +03:00
committed by GitHub
parent 48c8a498fa
commit aba0f3c3c9
2 changed files with 10 additions and 3 deletions

View File

@@ -98,7 +98,7 @@ class Buttons {
index,
quickReplyButton: {
displayText: button.body,
id: button.id || index
id: button.id || `${index}`
}
};
}