Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Guf-Hub committed Nov 19, 2023
1 parent 0abb291 commit 750466a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<< >>>
});
}
}
Expand All @@ -266,7 +266,7 @@ if (callback) {
```JavaScript
const botToken = "<botToken>"
const webAppUrl = "<webAppUrl>"
const Bot = TGbot.bot(botToken, webAppUrl);
const Bot = TGbot.bot({ botToken, webAppUrl });

function doPost(e) {
if (e?.postData?.contents) {
Expand Down

0 comments on commit 750466a

Please sign in to comment.