v1

latestOpenAPI 3.0.02026-07-1374103805.5 KB

Use this method to copy messages of any kind. The method is analogous to the method forwardMessages, but the copied message doesn't have a link to the original message. Returns the MessageId of the sent message on success.

post/copyMessage

Request body

message_idinteger required

Message identifier in the chat specified in from_chat_id

captionstring

New caption for media, 0-1024 characters after entities parsing. If not specified, the original caption is kept

parse_modestring

Mode for parsing entities in the new caption. See formatting options for more details.

disable_notificationboolean

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

reply_to_message_idinteger

If the message is a reply, ID of the original message

allow_sending_without_replyboolean

Pass True, if the message should be sent even if the specified replied-to message is not found

Response

okboolean required