git clone https://github.com/butysMikhael7/bot.git
Node JS
const { BOT } = require('./setting_bot/setting_comand.js');
let bot = new BOT("Bоt");
check()
bot.check("string"); // STRING
status() Статус бота:
console.log(bot.status());
creatMain() Создает главное меню клавиатуры:
bot.creatMain("One", "Two", "Three", "Four");
creatMessageTwoButton() Создает клавиатуру к сообщению (2 кнопки)
bot.creatMessageTwoButton("Text", "Text");
creatMessageButton() Создает клавиатуру к сообщению (1 кнопка)
color: Keyboard.PRIMARY_COLOR, Keyboard.NEGATIVE.COLOR, Keyboard.POSITIVE_COLOR
bot.createMessageButton("Text", color);