method ApiMethods.forwardMessage
ApiMethods.forwardMessage(args: { chat_id: number | string; message_thread_id?: number; direct_messages_topic_id?: number; from_chat_id: number | string; video_start_timestamp?: number; message_effect_id?: string; suggested_post_parameters?: SuggestedPostParameters; disable_notification?: boolean; protect_content?: boolean; message_id: number; }): Message

Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded. On success, the sent Message is returned.

Parameters

args: { chat_id: number | string; message_thread_id?: number; direct_messages_topic_id?: number; from_chat_id: number | string; video_start_timestamp?: number; message_effect_id?: string; suggested_post_parameters?: SuggestedPostParameters; disable_notification?: boolean; protect_content?: boolean; message_id: number; }

Return Type

Usage

import { type ApiMethods } from "types";