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

x/mtkruto/mod.ts>Client#forwardMessage

[WIP] 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.118/mod.ts";

Forward a single message.

Parameters

from: ChatID

The identifier of the chat to forward the message from.

to: ChatID

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.