Class EditMessageCaptionMessage

    • Constructor Detail

      • EditMessageCaptionMessage

        public EditMessageCaptionMessage​(String chatId,
                                         Integer messageId,
                                         String inlineMessageId,
                                         String caption,
                                         String parseMode,
                                         InlineKeyboardMarkup replyMarkup)
        Builds EditMessageCaptionMessage instance.
        Parameters:
        chatId - Unique identifier for the target chat or username of the target channel.
        messageId - Identifier of the message to edit. Required if inline_message_id is not specified.
        inlineMessageId - Required if chat_id and message_id are not specified. Identifier of the inline message.
        caption - New caption of the message.
        parseMode - Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message.
        replyMarkup - An inline keyboard that appears right next to the message it belongs to.