import { Telegram as Telegraf } from "[email protected]";
type Telegram = {
token: string;
};
export async function main(
auth: Telegram,
chat_id: string,
message_id: number,
) {
const client = new Telegraf(auth.token);
return await client.pinChatMessage(chat_id, message_id);
}
Submitted by hugo989 6 days ago