Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Sep 8, 2024
1 parent df322ae commit 7f3996c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bot/mtproto-api/workrooms.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Context, SupportedEvents } from "#root/types/context";
import { CallbackResult } from "#root/types/proxy.js";
import bigInt from "big-integer";
import { MtProto } from "./bot/mtproto";

export async function createChat(context: Context<"issues.labeled", SupportedEvents["issues.labeled"]>): Promise<CallbackResult> {
Expand Down Expand Up @@ -37,8 +38,7 @@ export async function createChat(context: Context<"issues.labeled", SupportedEve
await mtProto.client.invoke(
new mtProto.api.messages.AddChatUser({
chatId: chatIdBigInt,
userId: botId,
fwdLimit: 50,
userId: bigInt(botId)
})
);

Expand Down

0 comments on commit 7f3996c

Please sign in to comment.