Skip to content

Commit 4f27267

Browse files
authored
chore: Update to BOT API 6.5 (#42)
* Update to BOT API 6.5 Details: https://t.me/BotNews/79
1 parent 374876f commit 4f27267

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

import_map.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"dotenv": "https://deno.land/std@0.154.0/dotenv/mod.ts",
44
"envalid": "https://deno.land/x/envalid@0.1.2/mod.ts",
55
"server": "https://deno.land/std@0.154.0/http/server.ts",
6-
"grammy/": "https://deno.land/x/grammy@v1.14.1/",
6+
"grammy/": "https://deno.land/x/grammy@v1.19.0/",
77
"mongo": "https://deno.land/x/mongo@v0.31.1/mod.ts",
88
"autoQuote": "https://deno.land/x/grammy_autoquote@v1.1.2/mod.ts",
99
"hydrate": "https://deno.land/x/grammy_hydrate@v1.3.1/mod.ts",
10-
"conversations": "https://deno.land/x/grammy_conversations@v1.1.1/mod.ts",
10+
"conversations": "https://deno.land/x/grammy_conversations@v1.1.2/mod.ts",
1111
"i18n": "https://deno.land/x/grammy_i18n@v1.0.1/mod.ts",
1212
"mongo_sessions": "https://deno.land/x/grammy_storages@v2.1.0/mongodb/src/mod.ts",
1313
"language": "https://deno.land/x/language@v0.1.0/mod.ts",

src/modules/chatJoins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ composer.on("chat_join_request", async (ctx) => {
5858
// try to send a message
5959
try {
6060
await ctx.api.sendMessage(
61-
update.from.id,
61+
update.user_chat_id,
6262
welcome,
6363
);
6464
} catch (error) {

0 commit comments

Comments
 (0)