This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/3.20.x by this push:
new e7899380 Restore required setting for chatId and made documentation
clearer.
e7899380 is described below
commit e7899380572e981c664164a9657253f9fb80baf2
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 4a69bdfa..3ef78f48 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 4a69bdfa..3ef78f48 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: