Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.20.x] Issue-981: Restore required setting for chatId and made documentation clearer. #1320

Merged
merged 1 commit into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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