import { Telegram } from "npm:[email protected]";
type Telegram = {
token: string;
};
export async function main(
auth: Telegram,
from_chat_id: string,
to_chat_id: string,
message_id: number,
) {
const client = new Telegram(auth.token);
return await client.forwardMessage(to_chat_id, from_chat_id, message_id);
}
Submitted by hugo697 231 days ago
import { Telegram } from "npm:[email protected]";
type Telegram = {
token: string;
};
export async function main(
auth: Telegram,
from_chat_id: string,
to_chat_id: string,
message_id: number,
) {
const client = new Telegram(auth.token);
return await client.forwardMessage(to_chat_id, from_chat_id, message_id);
}
Submitted by admin 863 days ago
import { Telegram } from "npm:[email protected]"
type Telegram = {
token: string;
};
export async function main(
auth: Telegram,
from_chat_id: string,
to_chat_id: string,
message_id: number
) {
const client = new Telegram(auth.token)
return await client.forwardMessage(
to_chat_id,
from_chat_id,
message_id
)
}
Submitted by admin 867 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">,
from_chat_id: string,
to_chat_id: string,
message_id: number
) {
const client = new Telegram(auth.token)
return await client.forwardMessage(
to_chat_id,
from_chat_id,
message_id
)
}
Submitted by adam186 995 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">,
from_chat_id: string,
to_chat_id: string,
message_id: number
) {
const client = new Telegram(auth.token)
return await client.forwardMessage(
to_chat_id,
from_chat_id,
message_id
)
}
Submitted by adam186 1030 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">,
from_chat_id: string,
to_chat_id: string,
message_id: number
) {
const client = new Telegram(auth.token)
return await client.forwardMessage(
to_chat_id,
from_chat_id,
message_id
)
}
Submitted by adam186 1112 days ago