import { Telegram as Telegraf } from "[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 Telegraf(auth.token);
return await client.forwardMessage(to_chat_id, from_chat_id, message_id);
}
Submitted by hugo989 7 days ago