Edits history of script submission #237 for ' Create Chat Invite Link (telegram)'

  • deno
    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 399 days ago

  • deno
    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 1031 days ago

  • deno
    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 1034 days ago

  • deno
    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 1163 days ago

  • deno
    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 1198 days ago

  • deno
    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 1279 days ago