Body

Request body for CopyMessageApi.

Note: Can only be used for serialization, not deserialization.

Properties

Link copied to clipboard
val caption: String? = null

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

Link copied to clipboard
@SerialName(value = "caption_entities")
val captionEntities: Collection<MessageEntity>? = null

Optional. A JSON-serialized list of special entities that appear in the new caption, which can be specified instead of parse_mode

Link copied to clipboard
@SerialName(value = "chat_id")
val chatId: ChatId

Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)

Link copied to clipboard
@SerialName(value = "disable_notification")
val disableNotification: Boolean? = null

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

Link copied to clipboard
@SerialName(value = "from_chat_id")
val fromChatId: ChatId

Required. Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)

Link copied to clipboard
@SerialName(value = "message_id")
val messageId: Int

Required. Message identifier in the chat specified in fromChatId

Link copied to clipboard
@SerialName(value = "message_thread_id")
val messageThreadId: Int? = null

Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

Link copied to clipboard
@SerialName(value = "parse_mode")
val parseMode: String? = null

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

Link copied to clipboard
@SerialName(value = "protect_content")
val protectContent: Boolean? = null

Optional. Protects the contents of the sent message from forwarding and saving

Link copied to clipboard
@SerialName(value = "reply_markup")
val replyMarkup: ReplyMarkupWrapper? = null

Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.

Link copied to clipboard
@SerialName(value = "reply_parameters")
val replyParameters: ReplyParameters? = null

Optional. Description of the message to reply to