Skip to content

Commit

Permalink
Add default value and clearer documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
manstis committed Feb 28, 2023
1 parent cea90b4 commit a8d3cb5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion kamelets/telegram-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@ 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.
The Chat ID must be provided for every message; either as a Configuration Option or a `chat-id` / `ce-chatid` header.
If the Chat ID is not explicitly provided the default value is used which may lead to delivery failures.
type: string
default: dummy
types:
out:
mediaType: application/json
Expand Down

0 comments on commit a8d3cb5

Please sign in to comment.