Learn R Programming

telegram.bot (version 2.0.0)

forwardMessage: forwardMessage

Description

Use this method to forward messages of any kind.

Usage

forwardMessage(chat_id, from_chat_id, message_id,
  disable_notification = FALSE)

Arguments

chat_id

Unique identifier for the target chat or username of the target channel

from_chat_id

Unique identifier for the chat where the original message was sent

message_id

Message identifier in the chat specified in from_chat_id

disable_notification

(Optional). Sends the message silently. Users will receive a notification with no sound

Details

You can also use it's snake_case equivalent forward_message.