fix: correctly serialize messages with replyButtons
This commit is contained in:
parent
98acd2312d
commit
ae6d61bda9
1 changed files with 3 additions and 0 deletions
|
|
@ -269,6 +269,9 @@ exports.LoadUtils = () => {
|
||||||
if (msg.buttons) {
|
if (msg.buttons) {
|
||||||
msg.buttons = msg.buttons.serialize();
|
msg.buttons = msg.buttons.serialize();
|
||||||
}
|
}
|
||||||
|
if(msg.replyButtons) {
|
||||||
|
msg.replyButtons = msg.replyButtons.serialize();
|
||||||
|
}
|
||||||
|
|
||||||
delete msg.pendingAckUpdate;
|
delete msg.pendingAckUpdate;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue