Use this method to copy messages of any kind. The method is analogous to the method , but the copied message doesn't have a link to the original message. Returns the of the sent message on success.
643 matches
60 actions
Telegram
60 actions
- post_addStickerToSetPOSTv1.0.0
- post_answerInlineQueryPOSTv1.0.0
- post_answerPreCheckoutQueryPOSTv1.0.0
- post_closePOSTv1.0.0
- post_copyMessagePOSTv1.0.0
- post_createNewStickerSetPOSTv1.0.0
- post_editMessageCaptionPOSTv1.0.0
- post_editMessageLiveLocationPOSTv1.0.0
- post_editMessageMediaPOSTv1.0.0
- post_editMessageReplyMarkupPOSTv1.0.0
- post_editMessageTextPOSTv1.0.0
- post_forwardMessagePOSTv1.0.0
- post_getChatPOSTv1.0.0
- post_getChatAdministratorsPOSTv1.0.0
- post_getChatMemberPOSTv1.0.0
- post_getChatMembersCountPOSTv1.0.0
- post_getFilePOSTv1.0.0
- post_getGameHighScoresPOSTv1.0.0
- post_getMePOSTv1.0.0
- post_getMyCommandsPOSTv1.0.0
- post_getStickerSetPOSTv1.0.0
- post_getUpdatesPOSTv1.0.0
- post_getUserProfilePhotosPOSTv1.0.0
- post_kickChatMemberPOSTv1.0.0
- post_leaveChatPOSTv1.0.0
- post_logOutPOSTv1.0.0
- post_pinChatMessagePOSTv1.0.0
- post_promoteChatMemberPOSTv1.0.0
- post_restrictChatMemberPOSTv1.0.0
- post_sendAnimationPOSTv1.0.0
- post_sendAudioPOSTv1.0.0
- post_sendChatActionPOSTv1.0.0
- post_sendContactPOSTv1.0.0
- post_sendDicePOSTv1.0.0
- post_sendDocumentPOSTv1.0.0
- post_sendGamePOSTv1.0.0
- post_sendInvoicePOSTv1.0.0
- post_sendLocationPOSTv1.0.0
- post_sendMediaGroupPOSTv1.0.0
- post_sendMessagePOSTv1.0.0
- post_sendPhotoPOSTv1.0.0
- post_sendPollPOSTv1.0.0
- post_sendStickerPOSTv1.0.0
- post_sendVenuePOSTv1.0.0
- post_sendVideoPOSTv1.0.0
- post_sendVideoNotePOSTv1.0.0
- post_sendVoicePOSTv1.0.0
- post_setChatAdministratorCustomTitlePOSTv1.0.0
- post_setChatDescriptionPOSTv1.0.0
- post_setChatPermissionsPOSTv1.0.0
- post_setChatPhotoPOSTv1.0.0
- post_setChatStickerSetPOSTv1.0.0
- post_setChatTitlePOSTv1.0.0
- post_setGameScorePOSTv1.0.0
- post_setMyCommandsPOSTv1.0.0
- post_setPassportDataErrorsPOSTv1.0.0
- post_setStickerPositionInSetPOSTv1.0.0
- post_setStickerSetThumbPOSTv1.0.0
- post_stopMessageLiveLocationPOSTv1.0.0
- post_stopPollPOSTv1.0.0
Communication/Telegram
post_copyMessage
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
{
"type": "object",
"required": [
"chat_id",
"from_chat_id",
"message_id"
],
"properties": {
"allow_sending_without_reply": {
"type": "boolean",
"description": "Pass *True*, if the message should be sent even if the specified replied-to message is not found"
},
"caption": {
"type": "string",
"description": "New caption for media, 0-1024 characters after entities parsing. If not specified, the original caption is kept"
},
"caption_entities": {
"type": "array",
"description": "List of special entities that appear in the new caption, which can be specified instead of *parse\\_mode*",
"items": {
"type": "object",
"description": "This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.",
"required": [
"type",
"offset",
"length"
],
"properties": {
"language": {
"type": "string",
"description": "*Optional*. For “pre” only, the programming language of the entity text"
},
"length": {
"type": "integer",
"description": "Length of the entity in UTF-16 code units"
},
"offset": {
"type": "integer",
"description": "Offset in UTF-16 code units to the start of the entity"
},
"type": {
"type": "string",
"description": "Type of the entity. Can be “mention” (`@username`), “hashtag” (`#hashtag`), “cashtag” (`$USD`), “bot\\_command” (`/start@jobs_bot`), “url” (`https://telegram.org`), “email” (`[email protected]`), “phone\\_number” (`+1-212-555-0123`), “bold” (**bold text**), “italic” (*italic text*), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text\\_link” (for clickable text URLs), “text\\_mention” (for users [without usernames](https://telegram.org/blog/edit#new-mentions))",
"enum": [
"mention",
"hashtag",
"cashtag",
"bot_command",
"url",
"email",
"phone_number",
"bold",
"italic",
"underline",
"strikethrough",
"code",
"pre",
"text_link",
"text_mention"
]
},
"url": {
"type": "string",
"description": "*Optional*. For “text\\_link” only, url that will be opened after user taps on the text"
},
"user": {
"type": "object",
"description": "This object represents a Telegram user or bot.",
"required": [
"id",
"is_bot",
"first_name"
],
"properties": {
"can_join_groups": {
"type": "boolean",
"description": "*Optional*. True, if the bot can be invited to groups. Returned only in [getMe](https://core.telegram.org/bots/api/#getme)."
},
"can_read_all_group_messages": {
"type": "boolean",
"description": "*Optional*. True, if [privacy mode](https://core.telegram.org/bots#privacy-mode) is disabled for the bot. Returned only in [getMe](https://core.telegram.org/bots/api/#getme)."
},
"first_name": {
"type": "string",
"description": "User's or bot's first name"
},
"id": {
"type": "integer",
"description": "Unique identifier for this user or bot"
},
"is_bot": {
"type": "boolean",
"description": "True, if this user is a bot"
},
"language_code": {
"type": "string",
"description": "*Optional*. [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) of the user's language"
},
"last_name": {
"type": "string",
"description": "*Optional*. User's or bot's last name"
},
"supports_inline_queries": {
"type": "boolean",
"description": "*Optional*. True, if the bot supports inline queries. Returned only in [getMe](https://core.telegram.org/bots/api/#getme)."
},
"username": {
"type": "string",
"description": "*Optional*. User's or bot's username"
}
}
}
}
}
},
"chat_id": {
"description": "Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)",
"type": "object"
},
"disable_notification": {
"type": "boolean",
"description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound."
},
"from_chat_id": {
"description": "Unique identifier for the chat where the original message was sent (or channel username in the format `@channelusername`)",
"type": "object"
},
"message_id": {
"type": "integer",
"description": "Message identifier in the chat specified in *from\\_chat\\_id*"
},
"parse_mode": {
"type": "string",
"description": "Mode for parsing entities in the new caption. See [formatting options](https://core.telegram.org/bots/api/#formatting-options) for more details."
},
"reply_markup": {
"description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots#inline-keyboards-and-on-the-fly-updating), [custom reply keyboard](https://core.telegram.org/bots#keyboards), instructions to remove reply keyboard or to force a reply from the user.",
"type": "object"
},
"reply_to_message_id": {
"type": "integer",
"description": "If the message is a reply, ID of the original message"
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
{
"type": "object",
"required": [
"ok",
"result"
],
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"description": "This object represents a unique message identifier.",
"required": [
"message_id"
],
"properties": {
"message_id": {
"type": "integer",
"description": "Unique message identifier"
}
}
}
}
}