ForwardMessageRequest

data class ForwardMessageRequest(chat_id: String, from_chat_id: String, disable_notification: Boolean?, message_id: Long) : TelegramRequest

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

Constructors

ForwardMessageRequest
Link copied to clipboard
fun ForwardMessageRequest(chat_id: String, from_chat_id: String, disable_notification: Boolean? = null, message_id: Long)

Properties

chat_id
Link copied to clipboard
val chat_id: String
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
disable_notification
Link copied to clipboard
val disable_notification: Boolean? = null
Sends the message
from_chat_id
Link copied to clipboard
val from_chat_id: String
Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)
message_id
Link copied to clipboard
val message_id: Long
Message identifier in the chat specified in from_chat_id