You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/07/15 12:55:29 UTC
[camel] branch main updated: Regen for commit
0eb4182bd0e1861d2fd1b7586ee9fef542484129
This is an automated email from the ASF dual-hosted git repository.
acosentino 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 2c28733 Regen for commit 0eb4182bd0e1861d2fd1b7586ee9fef542484129
2c28733 is described below
commit 2c2873378e3aa37b23fe6cac7ffa940b793d841d
Author: orpiske <or...@users.noreply.github.com>
AuthorDate: Thu Jul 15 12:52:26 2021 +0000
Regen for commit 0eb4182bd0e1861d2fd1b7586ee9fef542484129
Signed-off-by: GitHub <no...@github.com>
---
.../resources/org/apache/camel/catalog/docs/telegram-component.adoc | 4 ++--
docs/components/modules/ROOT/pages/telegram-component.adoc | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/telegram-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/telegram-component.adoc
index 8447505..eeb10c0 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/telegram-component.adoc
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/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);
})
diff --git a/docs/components/modules/ROOT/pages/telegram-component.adoc b/docs/components/modules/ROOT/pages/telegram-component.adoc
index fb9f229..e84d120 100644
--- a/docs/components/modules/ROOT/pages/telegram-component.adoc
+++ b/docs/components/modules/ROOT/pages/telegram-component.adoc
@@ -351,7 +351,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]
---------------------------------------------------------
@@ -378,7 +378,7 @@ from("telegram:bots?authorizationToken=123456789:insertYourAuthorizationTokenHer
.oneTimeKeyboard(true)
.build();
- msg.setReplyKeyboardMarkup(replyMarkup);
+ msg.setReplyMarkup(replyMarkup);
exchange.getIn().setBody(msg);
})