From 750466a909e0a55cb11663293b2a4ad1ea22b701 Mon Sep 17 00:00:00 2001 From: Guf-Hub <72359732+Guf-Hub@users.noreply.github.com> Date: Sun, 19 Nov 2023 05:49:13 +0300 Subject: [PATCH] update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2a0988d..3bd4086 100644 --- a/README.md +++ b/README.md @@ -254,7 +254,7 @@ if (callback) { return Bot.editMessageReplyMarkup({ message_id: cb_msg.message_id, chat_id: cb_user_id, - reply_markup: TGbot.calendar({ month: month, year: year, language: "en" }), // pagination <<< >>> + reply_markup: TGbot.calendar({ month, year, language: "en" }), // pagination <<< >>> }); } } @@ -266,7 +266,7 @@ if (callback) { ```JavaScript const botToken = "" const webAppUrl = "" -const Bot = TGbot.bot(botToken, webAppUrl); +const Bot = TGbot.bot({ botToken, webAppUrl }); function doPost(e) { if (e?.postData?.contents) {