This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/3.x by this push:
new af180235 Restore required setting for chatId and made documentation
clearer.
af180235 is described below
commit af180235702f91b41cb7d6097f31e1a58ac17d4a
Author: Michael Anstis <[email protected]>
AuthorDate: Tue Feb 28 14:13:17 2023 +0000
Restore required setting for chatId and made documentation clearer.
---
kamelets/telegram-sink.kamelet.yaml | 6 ++++--
.../src/main/resources/kamelets/telegram-sink.kamelet.yaml | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/kamelets/telegram-sink.kamelet.yaml
b/kamelets/telegram-sink.kamelet.yaml
index b4435180..b9a8fe81 100644
--- a/kamelets/telegram-sink.kamelet.yaml
+++ b/kamelets/telegram-sink.kamelet.yaml
@@ -47,7 +47,6 @@ spec:
- `chat-id` / `ce-chatid`: overrides the default chat where messages are
sent to
required:
- authorizationToken
- - chatId
type: object
properties:
authorizationToken:
@@ -60,7 +59,10 @@ spec:
- urn:camel:group:credentials
chatId:
title: Chat ID
- description: The Chat ID to where you want to send messages by
default. Optional if the `chat-id` / `ce-chatid` header is used.
+ description: |-
+ The Chat ID to where you want to send messages by default.
+
+ Whilst the Chat ID is not a required Configuration Option it must be
provided for every message; either as a Configuration Option or a `chat-id` /
`ce-chatid` header.
type: string
types:
out:
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/telegram-sink.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/telegram-sink.kamelet.yaml
index b4435180..b9a8fe81 100644
---
a/library/camel-kamelets/src/main/resources/kamelets/telegram-sink.kamelet.yaml
+++
b/library/camel-kamelets/src/main/resources/kamelets/telegram-sink.kamelet.yaml
@@ -47,7 +47,6 @@ spec:
- `chat-id` / `ce-chatid`: overrides the default chat where messages are
sent to
required:
- authorizationToken
- - chatId
type: object
properties:
authorizationToken:
@@ -60,7 +59,10 @@ spec:
- urn:camel:group:credentials
chatId:
title: Chat ID
- description: The Chat ID to where you want to send messages by
default. Optional if the `chat-id` / `ce-chatid` header is used.
+ description: |-
+ The Chat ID to where you want to send messages by default.
+
+ Whilst the Chat ID is not a required Configuration Option it must be
provided for every message; either as a Configuration Option or a `chat-id` /
`ce-chatid` header.
type: string
types:
out: