create buttons definition example in mainbot.js

This commit is contained in:
Akulij 2025-05-20 00:33:51 +05:00
parent cddf5986ba
commit 22ab941ed8

View File

@ -11,6 +11,9 @@ const dialog = {
}, },
somecomplicatedcmd: {} somecomplicatedcmd: {}
}, },
buttons: {
more_info: {},
},
stateful_msg_handlers: { stateful_msg_handlers: {
start: {}, // everything is by default, so just send message `start` start: {}, // everything is by default, so just send message `start`
enter_name: { enter_name: {