feature: variants #22

Merged
akulij merged 19 commits from dev into main 2025-06-05 20:53:03 +00:00
Showing only changes of commit 37d2480b4a - Show all commits

View File

@ -13,7 +13,10 @@ const start_msg = {
}; };
const dialog = { const dialog = {
commands: { commands: {
start: start_msg, start: {
meta: true,
...start_msg
},
}, },
buttons: { buttons: {
more_info: { more_info: {
@ -41,6 +44,17 @@ const dialog = {
state: "none" state: "none"
}, },
}, },
variants: {
start: {
free_tgads: {
...start_msg,
buttons: [
[{ name: { literal: "free_doc_btn" }, callback_name: "free_doc" }],
...start_msg.buttons,
],
},
},
},
} }
function leave_application(user) { function leave_application(user) {