1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-25 04:17:02 +00:00
Files
core/homeassistant/components/telegram_bot/strings.json
Jim d2effd8693 Bump python-telegram-bot package to 21.0.1 (#110297)
* Bump python-telegram-bot package version to the latest.

* PySocks is no longer required as python-telegram-bot doesn't use urllib3 anymore.

* Fix moved ParseMode import

* Update filters import to new structure.

* Refactor removed Request objects to HTTPXRequest objects.

* Update to support asyncc functions

* Update timeout to new kwarg

connect_timeout is the most obvious option based on current param description, but this may need changing.

* Compatibility typo.

* Make methods async and use Bot client async natively

* Type needs to be Optional

That's what the source types are from the library
Also handle new possibility of None value

* Add socks support version of the library

* Refactor load_data function

Update to be async friendly
Refactor to use httpx instead of requests.

* Refactor Dispatcher references to Application

This is the newer model of the same class.

* Make more stuff async-friendly.

* Update tests to refactor Dispatcher usage out.

* Remove import and reference directly

* Refactor typing method

* Use async_fire now we have async support

* Fix some over complicate inheritance.

* Add the polling test telegram_text event fired back in.

* Add extra context to comment

* Handler should also be async

* Use underscores instead of camelCase

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Renamed kwarg.

* Refactor current timeout param to be read timeout

Reading the old version of the library code I believe this matches the existing functionality best

* Combine unload methods into one listener

* Fix test by stopping HA as part of fixture

* Add new fixture to mock stop_polling call

Use this in all polling tests.

* No longer need to check if application is running

It was to stop a test failing.

* Make sure the updater is started in tests

Mock external call methods
Remove stop_polling mock.

* Use cleaner references to patched methods

* Improve test by letting the library create the Update object

* Mock component tear down methods to be async

* Bump mypy cache version

* Update dependency to install from git

Allows use as a custom component in 2024.3
Allows us to track mypy issue resolution.

* Update manifest and requirements for new python-telegram-bot release.

* Remove pytest filterwarnings entry for old version of python-telegram-bot library.

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-03-08 08:56:26 +01:00

641 lines
30 KiB
JSON

{
"services": {
"send_message": {
"name": "Send message",
"description": "Sends a notification.",
"fields": {
"message": {
"name": "Message",
"description": "Message body of the notification."
},
"title": {
"name": "Title",
"description": "Optional title for your notification. Will be composed as '%title\\n%message'."
},
"target": {
"name": "Target",
"description": "An array of pre-authorized chat_ids to send the notification to. If not present, first allowed chat_id is the default."
},
"parse_mode": {
"name": "Parse mode",
"description": "Parser for the message text."
},
"disable_notification": {
"name": "Disable notification",
"description": "Sends the message silently. iOS users and Web users will not receive a notification, Android users will receive a notification with no sound."
},
"disable_web_page_preview": {
"name": "Disable web page preview",
"description": "Disables link previews for links in the message."
},
"timeout": {
"name": "Read timeout",
"description": "Read timeout for send message. Will help with timeout errors (poor internet connection, etc)s."
},
"keyboard": {
"name": "Keyboard",
"description": "List of rows of commands, comma-separated, to make a custom keyboard. Empty list clears a previously set keyboard."
},
"inline_keyboard": {
"name": "Inline keyboard",
"description": "List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data."
},
"message_tag": {
"name": "Message tag",
"description": "Tag for sent message."
},
"reply_to_message_id": {
"name": "Reply to message id",
"description": "Mark the message as a reply to a previous message."
}
}
},
"send_photo": {
"name": "Send photo",
"description": "Sends a photo.",
"fields": {
"url": {
"name": "[%key:common::config_flow::data::url%]",
"description": "Remote path to an image."
},
"file": {
"name": "File",
"description": "Local path to an image."
},
"caption": {
"name": "Caption",
"description": "The title of the image."
},
"username": {
"name": "[%key:common::config_flow::data::username%]",
"description": "Username for a URL which require HTTP authentication."
},
"password": {
"name": "[%key:common::config_flow::data::password%]",
"description": "Password (or bearer token) for a URL which require HTTP authentication."
},
"authentication": {
"name": "Authentication method",
"description": "Define which authentication method to use. Set to `digest` to use HTTP digest authentication, or `bearer_token` for OAuth 2.0 bearer token authentication. Defaults to `basic`."
},
"target": {
"name": "Target",
"description": "An array of pre-authorized chat_ids to send the document to. If not present, first allowed chat_id is the default."
},
"parse_mode": {
"name": "[%key:component::telegram_bot::services::send_message::fields::parse_mode::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::parse_mode::description%]"
},
"disable_notification": {
"name": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::description%]"
},
"verify_ssl": {
"name": "Verify SSL",
"description": "Enable or disable SSL certificate verification. Set to false if you're downloading the file from a URL and you don't want to validate the SSL certificate of the server."
},
"timeout": {
"name": "Read timeout",
"description": "Read timeout for send photo."
},
"keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::keyboard::name%]",
"description": "List of rows of commands, comma-separated, to make a custom keyboard."
},
"inline_keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::description%]"
},
"message_tag": {
"name": "[%key:component::telegram_bot::services::send_message::fields::message_tag::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::message_tag::description%]"
},
"reply_to_message_id": {
"name": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::description%]"
}
}
},
"send_sticker": {
"name": "Send sticker",
"description": "Sends a sticker.",
"fields": {
"url": {
"name": "[%key:common::config_flow::data::url%]",
"description": "Remote path to a static .webp or animated .tgs sticker."
},
"file": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::file::name%]",
"description": "Local path to a static .webp or animated .tgs sticker."
},
"sticker_id": {
"name": "Sticker ID",
"description": "ID of a sticker that exists on telegram servers."
},
"username": {
"name": "[%key:common::config_flow::data::username%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::username::description%]"
},
"password": {
"name": "[%key:common::config_flow::data::password%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::password::description%]"
},
"authentication": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::authentication::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::authentication::description%]"
},
"target": {
"name": "Target",
"description": "[%key:component::telegram_bot::services::send_photo::fields::target::description%]"
},
"disable_notification": {
"name": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::description%]"
},
"verify_ssl": {
"name": "Verify SSL",
"description": "[%key:component::telegram_bot::services::send_photo::fields::verify_ssl::description%]"
},
"timeout": {
"name": "Read timeout",
"description": "Read timeout for send sticker."
},
"keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::keyboard::description%]"
},
"inline_keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::description%]"
},
"message_tag": {
"name": "[%key:component::telegram_bot::services::send_message::fields::message_tag::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::message_tag::description%]"
},
"reply_to_message_id": {
"name": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::description%]"
}
}
},
"send_animation": {
"name": "Send animation",
"description": "Sends an animation.",
"fields": {
"url": {
"name": "[%key:common::config_flow::data::url%]",
"description": "Remote path to a GIF or H.264/MPEG-4 AVC video without sound."
},
"file": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::file::name%]",
"description": "Local path to a GIF or H.264/MPEG-4 AVC video without sound."
},
"caption": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::caption::name%]",
"description": "The title of the animation."
},
"username": {
"name": "[%key:common::config_flow::data::username%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::username::description%]"
},
"password": {
"name": "[%key:common::config_flow::data::password%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::password::description%]"
},
"authentication": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::authentication::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::authentication::description%]"
},
"target": {
"name": "Target",
"description": "[%key:component::telegram_bot::services::send_photo::fields::target::description%]"
},
"parse_mode": {
"name": "Parse Mode",
"description": "[%key:component::telegram_bot::services::send_message::fields::parse_mode::description%]"
},
"disable_notification": {
"name": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::description%]"
},
"verify_ssl": {
"name": "Verify SSL",
"description": "[%key:component::telegram_bot::services::send_photo::fields::verify_ssl::description%]"
},
"timeout": {
"name": "Read timeout",
"description": "[%key:component::telegram_bot::services::send_sticker::fields::timeout::description%]"
},
"keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::keyboard::description%]"
},
"inline_keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::description%]"
},
"message_tag": {
"name": "[%key:component::telegram_bot::services::send_message::fields::message_tag::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::message_tag::description%]"
},
"reply_to_message_id": {
"name": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::description%]"
}
}
},
"send_video": {
"name": "Send video",
"description": "Sends a video.",
"fields": {
"url": {
"name": "[%key:common::config_flow::data::url%]",
"description": "Remote path to a video."
},
"file": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::file::name%]",
"description": "Local path to a video."
},
"caption": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::caption::name%]",
"description": "The title of the video."
},
"username": {
"name": "[%key:common::config_flow::data::username%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::username::description%]"
},
"password": {
"name": "[%key:common::config_flow::data::password%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::password::description%]"
},
"authentication": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::authentication::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::authentication::description%]"
},
"target": {
"name": "Target",
"description": "[%key:component::telegram_bot::services::send_photo::fields::target::description%]"
},
"parse_mode": {
"name": "[%key:component::telegram_bot::services::send_message::fields::parse_mode::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::parse_mode::description%]"
},
"disable_notification": {
"name": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::description%]"
},
"verify_ssl": {
"name": "Verify SSL",
"description": "[%key:component::telegram_bot::services::send_photo::fields::verify_ssl::description%]"
},
"timeout": {
"name": "Read timeout",
"description": "Read timeout for send video."
},
"keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::keyboard::description%]"
},
"inline_keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::description%]"
},
"message_tag": {
"name": "[%key:component::telegram_bot::services::send_message::fields::message_tag::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::message_tag::description%]"
},
"reply_to_message_id": {
"name": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::description%]"
}
}
},
"send_voice": {
"name": "Send voice",
"description": "Sends a voice message.",
"fields": {
"url": {
"name": "[%key:common::config_flow::data::url%]",
"description": "Remote path to a voice message."
},
"file": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::file::name%]",
"description": "Local path to a voice message."
},
"caption": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::caption::name%]",
"description": "The title of the voice message."
},
"username": {
"name": "[%key:common::config_flow::data::username%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::username::description%]"
},
"password": {
"name": "[%key:common::config_flow::data::password%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::password::description%]"
},
"authentication": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::authentication::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::authentication::description%]"
},
"target": {
"name": "Target",
"description": "[%key:component::telegram_bot::services::send_photo::fields::target::description%]"
},
"disable_notification": {
"name": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::description%]"
},
"verify_ssl": {
"name": "Verify SSL",
"description": "[%key:component::telegram_bot::services::send_photo::fields::verify_ssl::description%]"
},
"timeout": {
"name": "Read timeout",
"description": "Read timeout for send voice."
},
"keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::keyboard::description%]"
},
"inline_keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::description%]"
},
"message_tag": {
"name": "[%key:component::telegram_bot::services::send_message::fields::message_tag::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::message_tag::description%]"
},
"reply_to_message_id": {
"name": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::description%]"
}
}
},
"send_document": {
"name": "Send document",
"description": "Sends a document.",
"fields": {
"url": {
"name": "[%key:common::config_flow::data::url%]",
"description": "Remote path to a document."
},
"file": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::file::name%]",
"description": "Local path to a document."
},
"caption": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::caption::name%]",
"description": "The title of the document."
},
"username": {
"name": "[%key:common::config_flow::data::username%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::username::description%]"
},
"password": {
"name": "[%key:common::config_flow::data::password%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::password::description%]"
},
"authentication": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::authentication::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::authentication::description%]"
},
"target": {
"name": "Target",
"description": "[%key:component::telegram_bot::services::send_photo::fields::target::description%]"
},
"parse_mode": {
"name": "[%key:component::telegram_bot::services::send_message::fields::parse_mode::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::parse_mode::description%]"
},
"disable_notification": {
"name": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::description%]"
},
"verify_ssl": {
"name": "Verify SSL",
"description": "[%key:component::telegram_bot::services::send_photo::fields::verify_ssl::description%]"
},
"timeout": {
"name": "Read timeout",
"description": "Read timeout for send document."
},
"keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::keyboard::description%]"
},
"inline_keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::description%]"
},
"message_tag": {
"name": "[%key:component::telegram_bot::services::send_message::fields::message_tag::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::message_tag::description%]"
},
"reply_to_message_id": {
"name": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::description%]"
}
}
},
"send_location": {
"name": "Send location",
"description": "Sends a location.",
"fields": {
"latitude": {
"name": "[%key:common::config_flow::data::latitude%]",
"description": "The latitude to send."
},
"longitude": {
"name": "[%key:common::config_flow::data::longitude%]",
"description": "The longitude to send."
},
"target": {
"name": "Target",
"description": "An array of pre-authorized chat_ids to send the location to. If not present, first allowed chat_id is the default."
},
"disable_notification": {
"name": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::description%]"
},
"timeout": {
"name": "Read timeout",
"description": "[%key:component::telegram_bot::services::send_photo::fields::timeout::description%]"
},
"keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_photo::fields::keyboard::description%]"
},
"inline_keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::description%]"
},
"message_tag": {
"name": "[%key:component::telegram_bot::services::send_message::fields::message_tag::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::message_tag::description%]"
},
"reply_to_message_id": {
"name": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::description%]"
}
}
},
"send_poll": {
"name": "Send poll",
"description": "Sends a poll.",
"fields": {
"target": {
"name": "Target",
"description": "[%key:component::telegram_bot::services::send_location::fields::target::description%]"
},
"question": {
"name": "Question",
"description": "Poll question, 1-300 characters."
},
"options": {
"name": "Options",
"description": "List of answer options, 2-10 strings 1-100 characters each."
},
"is_anonymous": {
"name": "Is anonymous",
"description": "If the poll needs to be anonymous, defaults to True."
},
"allows_multiple_answers": {
"name": "Allow multiple answers",
"description": "If the poll allows multiple answers, defaults to False."
},
"open_period": {
"name": "Open period",
"description": "Amount of time in seconds the poll will be active after creation, 5-600."
},
"disable_notification": {
"name": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::disable_notification::description%]"
},
"timeout": {
"name": "Read timeout",
"description": "Read timeout for send poll."
},
"message_tag": {
"name": "[%key:component::telegram_bot::services::send_message::fields::message_tag::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::message_tag::description%]"
},
"reply_to_message_id": {
"name": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::reply_to_message_id::description%]"
}
}
},
"edit_message": {
"name": "Edit message",
"description": "Edits a previously sent message.",
"fields": {
"message_id": {
"name": "Message ID",
"description": "Id of the message to edit."
},
"chat_id": {
"name": "Chat ID",
"description": "The chat_id where to edit the message."
},
"message": {
"name": "Message",
"description": "Message body of the notification."
},
"title": {
"name": "Title",
"description": "[%key:component::telegram_bot::services::send_message::fields::title::description%]"
},
"parse_mode": {
"name": "[%key:component::telegram_bot::services::send_message::fields::parse_mode::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::parse_mode::description%]"
},
"disable_web_page_preview": {
"name": "[%key:component::telegram_bot::services::send_message::fields::disable_web_page_preview::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::disable_web_page_preview::description%]"
},
"inline_keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::description%]"
}
}
},
"edit_caption": {
"name": "Edit caption",
"description": "Edits the caption of a previously sent message.",
"fields": {
"message_id": {
"name": "[%key:component::telegram_bot::services::edit_message::fields::message_id::name%]",
"description": "[%key:component::telegram_bot::services::edit_message::fields::message_id::description%]"
},
"chat_id": {
"name": "[%key:component::telegram_bot::services::edit_message::fields::chat_id::name%]",
"description": "The chat_id where to edit the caption."
},
"caption": {
"name": "[%key:component::telegram_bot::services::send_photo::fields::caption::name%]",
"description": "Message body of the notification."
},
"inline_keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::description%]"
}
}
},
"edit_replymarkup": {
"name": "Edit reply markup",
"description": "Edit the inline keyboard of a previously sent message.",
"fields": {
"message_id": {
"name": "[%key:component::telegram_bot::services::edit_message::fields::message_id::name%]",
"description": "[%key:component::telegram_bot::services::edit_message::fields::message_id::description%]"
},
"chat_id": {
"name": "[%key:component::telegram_bot::services::edit_message::fields::chat_id::name%]",
"description": "The chat_id where to edit the reply_markup."
},
"inline_keyboard": {
"name": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::name%]",
"description": "[%key:component::telegram_bot::services::send_message::fields::inline_keyboard::description%]"
}
}
},
"answer_callback_query": {
"name": "Answer callback query",
"description": "Responds to a callback query originated by clicking on an online keyboard button. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert.",
"fields": {
"message": {
"name": "Message",
"description": "Unformatted text message body of the notification."
},
"callback_query_id": {
"name": "Callback query ID",
"description": "Unique id of the callback response."
},
"show_alert": {
"name": "Show alert",
"description": "Show a permanent notification."
},
"timeout": {
"name": "Read timeout",
"description": "Read timeout for sending the answer."
}
}
},
"delete_message": {
"name": "Delete message",
"description": "Deletes a previously sent message.",
"fields": {
"message_id": {
"name": "[%key:component::telegram_bot::services::edit_message::fields::message_id::name%]",
"description": "Id of the message to delete."
},
"chat_id": {
"name": "[%key:component::telegram_bot::services::edit_message::fields::chat_id::name%]",
"description": "The chat_id where to delete the message."
}
}
}
}
}