Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Client#forwardMessage

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.forwardMessage
import { Client } from "https://deno.land/x/mtkruto@0.1.157/mod.ts";

Forward a single message.

Parameters

from: ID

The identifier of the chat to forward the message from.

to: ID

The identifier of the chat to forward the message to.

messageId: number

The identifier of the message to forward.

optional
params: ForwardMessagesParams

Returns

Promise<Message>

The forwarded message.