import { Telegram } from "npm:[email protected]";
type Telegram = {
token: string;
};
export async function main(auth: Telegram, chat_id: string) {
const client = new Telegram(auth.token);
return await client.createChatInviteLink(chat_id);
}
Submitted by hugo697 200 days ago
import { Telegram } from "npm:[email protected]";
type Telegram = {
token: string;
};
export async function main(auth: Telegram, chat_id: string) {
const client = new Telegram(auth.token);
return await client.createChatInviteLink(chat_id);
}
Submitted by admin 832 days ago
import { Telegram } from "npm:[email protected]"
type Telegram = {
token: string;
};
export async function main(
auth: Telegram,
chat_id: string
) {
const client = new Telegram(auth.token)
return await client.createChatInviteLink(chat_id)
}
Submitted by admin 835 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts"
import { Telegram } from "npm:[email protected]"
export async function main(
auth: wmill.Resource<"telegram">,
chat_id: string
) {
const client = new Telegram(auth.token)
return await client.createChatInviteLink(chat_id)
}
Submitted by adam186 964 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts"
import { Telegram } from "npm:[email protected]"
export async function main(
auth: wmill.Resource<"telegram">,
chat_id: string
) {
const client = new Telegram(auth.token)
return await client.createChatInviteLink(chat_id)
}
Submitted by adam186 999 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts"
import { Telegram } from "npm:[email protected]"
export async function main(
auth: wmill.Resource<"telegram">,
chat_id: string
) {
const client = new Telegram(auth.token)
return await client.createChatInviteLink(chat_id)
}
Submitted by adam186 1080 days ago