Skip to content
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
3 changes: 3 additions & 0 deletions homeassistant/components/telegram_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,9 @@ async def async_send_telegram_message(service: ServiceCall) -> ServiceResponse:
async_send_telegram_message,
schema=schema,
supports_response=supports_response,
description_placeholders={
"formatting_options_url": "https://core.telegram.org/bots/api#formatting-options"
},
)

return True
Expand Down
16 changes: 8 additions & 8 deletions homeassistant/components/telegram_bot/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
"name": "[%key:component::telegram_bot::services::send_photo::fields::authentication::name%]"
},
"caption": {
"description": "The title of the media.",
"description": "[%key:component::telegram_bot::services::send_photo::fields::caption::description%]",
"name": "[%key:component::telegram_bot::services::send_photo::fields::caption::name%]"
},
"chat_id": {
Expand Down Expand Up @@ -499,7 +499,7 @@
"name": "[%key:component::telegram_bot::services::send_photo::fields::authentication::name%]"
},
"caption": {
"description": "The title of the animation.",
"description": "[%key:component::telegram_bot::services::send_photo::fields::caption::description%]",
"name": "[%key:component::telegram_bot::services::send_photo::fields::caption::name%]"
},
"config_entry_id": {
Expand Down Expand Up @@ -600,7 +600,7 @@
"name": "[%key:component::telegram_bot::services::send_photo::fields::authentication::name%]"
},
"caption": {
"description": "The title of the document.",
"description": "[%key:component::telegram_bot::services::send_photo::fields::caption::description%]",
"name": "[%key:component::telegram_bot::services::send_photo::fields::caption::name%]"
},
"config_entry_id": {
Expand Down Expand Up @@ -745,7 +745,7 @@
"name": "Keyboard"
},
"message": {
"description": "Message body of the notification.",
"description": "Message body of the notification.\nCan't parse entities? Format your message according to the [formatting options]({formatting_options_url}).",
"name": "Message"
},
"message_tag": {
Expand All @@ -757,7 +757,7 @@
"name": "Message thread ID"
},
"parse_mode": {
"description": "Parser for the message text.",
"description": "Parser for the message text.\nSee [formatting options]({formatting_options_url}) for more details.",
"name": "Parse mode"
},
"reply_to_message_id": {
Expand Down Expand Up @@ -787,7 +787,7 @@
"name": "Authentication method"
},
"caption": {
"description": "The title of the image.",
"description": "The title of the media.\nCan't parse entities? Format your message according to the [formatting options]({formatting_options_url}).",
"name": "Caption"
},
"config_entry_id": {
Expand Down Expand Up @@ -991,7 +991,7 @@
"name": "[%key:component::telegram_bot::services::send_photo::fields::authentication::name%]"
},
"caption": {
"description": "The title of the video.",
"description": "[%key:component::telegram_bot::services::send_photo::fields::caption::description%]",
"name": "[%key:component::telegram_bot::services::send_photo::fields::caption::name%]"
},
"config_entry_id": {
Expand Down Expand Up @@ -1070,7 +1070,7 @@
"name": "[%key:component::telegram_bot::services::send_photo::fields::authentication::name%]"
},
"caption": {
"description": "The title of the voice message.",
"description": "[%key:component::telegram_bot::services::send_photo::fields::caption::description%]",
"name": "[%key:component::telegram_bot::services::send_photo::fields::caption::name%]"
},
"config_entry_id": {
Expand Down
Loading