Skip to content

Commit

Permalink
Restore required setting for chatId and made documentation clearer.
Browse files Browse the repository at this point in the history
  • Loading branch information
manstis authored and oscerd committed Feb 28, 2023
1 parent a6168f6 commit e789938
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions kamelets/telegram-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit e789938

Please sign in to comment.