Variable strings in JSON object
This commit is contained in:
parent
698f5eb6a0
commit
52f3f643c1
5 changed files with 34 additions and 30 deletions
|
@ -52,7 +52,7 @@ module.exports = (bot) => {
|
|||
disable_web_page_preview: true,
|
||||
reply_markup: JSON.stringify({
|
||||
inline_keyboard: [
|
||||
[{ text: Strings.varBack, callback_data: 'helpBack' }],
|
||||
[{ text: Strings.varStrings.varBack, callback_data: 'helpBack' }],
|
||||
]
|
||||
})
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue