You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2021/07/15 12:09:27 UTC

[camel] branch main updated: camel-telegram: fixed outdated reference to method that was renamed (#5832)

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 0eb4182  camel-telegram: fixed outdated reference to method that was renamed (#5832)
0eb4182 is described below

commit 0eb4182bd0e1861d2fd1b7586ee9fef542484129
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Thu Jul 15 14:09:01 2021 +0200

    camel-telegram: fixed outdated reference to method that was renamed (#5832)
---
 components/camel-telegram/src/main/docs/telegram-component.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-telegram/src/main/docs/telegram-component.adoc b/components/camel-telegram/src/main/docs/telegram-component.adoc
index 8447505..eeb10c0 100644
--- a/components/camel-telegram/src/main/docs/telegram-component.adoc
+++ b/components/camel-telegram/src/main/docs/telegram-component.adoc
@@ -349,7 +349,7 @@ Note that the corresponding URI parameter is simply `chatId`.
 
 == Customizing keyboard
 
-You can customize the user keyboard instead of asking him to write an option. `OutgoingTextMessage` has the property `ReplyKeyboardMarkup` which can be used for such thing.
+You can customize the user keyboard instead of asking him to write an option. `OutgoingTextMessage` has the property `ReplyMarkup` which can be used for such thing.
 
 [source,java]
 ---------------------------------------------------------
@@ -376,7 +376,7 @@ from("telegram:bots?authorizationToken=123456789:insertYourAuthorizationTokenHer
                 .oneTimeKeyboard(true)
                 .build();
 
-        msg.setReplyKeyboardMarkup(replyMarkup);
+        msg.setReplyMarkup(replyMarkup);
 
         exchange.getIn().setBody(msg);
     })