diff --git a/kamelets/telegram-sink.kamelet.yaml b/kamelets/telegram-sink.kamelet.yaml index 4a69bdfaa..3ef78f48c 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 4a69bdfaa..3ef78f48c 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: