Class EditMessageTextMessage

    • Constructor Detail

      • EditMessageTextMessage

        public EditMessageTextMessage​(String chatId,
                                      Integer messageId,
                                      String inlineMessageId,
                                      String text,
                                      String parseMode,
                                      Boolean disableWebPagePreview,
                                      InlineKeyboardMarkup replyMarkup)
        Builds EditMessageTextMessage 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.
        text - New text 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.
        disableWebPagePreview - Disables link previews for links in this message.
        replyMarkup - An inline keyboard that appears right next to the message it belongs to.