Edits history of script submission #236 for ' Send a Photo (telegram)'

  • deno
    import { Telegram } from "npm:[email protected]";
    /**
     * @param photo The path or URL to the image.
     */
    type Telegram = {
      token: string;
    };
    export async function main(
      auth: Telegram,
      chat_id: string | number,
      photo: string,
      reply_to_message_id?: number,
    ) {
      const client = new Telegram(auth.token);
      return await client.sendPhoto(chat_id, photo, {
        reply_to_message_id,
      });
    }
    

    Submitted by hugo697 398 days ago

  • deno
    import { Telegram } from "npm:[email protected]";
    /**
     * @param photo The path or URL to the image.
     */
    type Telegram = {
      token: string;
    };
    export async function main(
      auth: Telegram,
      chat_id: string | number,
      photo: string,
      reply_to_message_id?: number,
    ) {
      const client = new Telegram(auth.token);
      return await client.sendPhoto(chat_id, photo, {
        reply_to_message_id,
      });
    }
    

    Submitted by admin 1031 days ago

  • deno
    import { Telegram } from "npm:[email protected]"
    /**
     * @param photo The path or URL to the image.
     */
    type Telegram = {
      token: string;
    };
    export async function main(
      auth: Telegram,
      chat_id: string | number,
      photo: string,
      reply_to_message_id?: number
    ) {
      const client = new Telegram(auth.token)
      return await client.sendPhoto(
        chat_id,
        photo,
        {
          reply_to_message_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]"
    /**
     * @param photo The path or URL to the image.
     */
    export async function main(
      auth: wmill.Resource<"telegram">,
      chat_id: string | number,
      photo: string,
      reply_to_message_id?: number
    ) {
      const client = new Telegram(auth.token)
      return await client.sendPhoto(
        chat_id,
        photo,
        {
          reply_to_message_id
        }
      )
    }
    

    Submitted by adam186 1162 days ago

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/mod.ts"
    import { Telegram } from "npm:[email protected]"
    /**
     * @param photo The path or URL to the image.
     */
    export async function main(
      auth: wmill.Resource<"telegram">,
      chat_id: string | number,
      photo: string,
      reply_to_message_id?: number
    ) {
      const client = new Telegram(auth.token)
      return await client.sendPhoto(
        chat_id,
        photo,
        {
          reply_to_message_id
        }
      )
    }
    

    Submitted by adam186 1197 days ago

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/mod.ts"
    import { Telegram } from "npm:[email protected]"
    /**
     * @param photo The path or URL to the image.
     */
    export async function main(
      auth: wmill.Resource<"telegram">,
      chat_id: string | number,
      photo: string,
      reply_to_message_id?: number
    ) {
      const client = new Telegram(auth.token)
      return await client.sendPhoto(
        chat_id,
        photo,
        {
          reply_to_message_id
        }
      )
    }
    

    Submitted by adam186 1279 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 | number,
      photo: string,
      reply_to_message_id?: number
    ) {
      const client = new Telegram(auth.token)
      return await client.sendPhoto(
        chat_id,
        photo,
        {
          reply_to_message_id
        }
      )
    }
    

    Submitted by adam186 1279 days ago