diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-06 04:20:11 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-06 04:20:11 +0300 |
| commit | 0671dc134a9e122ce2c0348f3f4deeb2d274d524 (patch) | |
| tree | f9bb88f626c1d68be98216e32b3e02f08701dac3 /operators/inline_help.zsh | |
| parent | 1e79ebd5f9a288563c8bb25acacd37bd55abc2d4 (diff) | |
*/*: Rename agents to operators for alphabetical order
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'operators/inline_help.zsh')
| -rw-r--r-- | operators/inline_help.zsh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/operators/inline_help.zsh b/operators/inline_help.zsh new file mode 100644 index 0000000..2ac9455 --- /dev/null +++ b/operators/inline_help.zsh @@ -0,0 +1,16 @@ +# Copyright (C) 2024-2026 Maria Lisina +# Copyright (C) 2024-2026 Danil Lisin +# SPDX-License-Identifier: Apache-2.0 + +output_title="Sekoohaka Bot" +output_text="${help_content}" +output_description="Click to send help message" + +results="$( + jq --null-input --compact-output \ + --arg id "${query_id}" \ + --arg title "${output_title}" \ + --arg text "${output_text}" \ + --arg description "${output_description}" \ + '[{"type": "article", "id": $id, "title": $title, "input_message_content": {"message_text": $text, "parse_mode": "HTML", "link_preview_options": {"is_disabled": true}}, "description": $description}]' +)" |
