feat(telegram): add /support command with support-desk info reply #251

Merged
developer merged 1 commits from feature/telegram-support-command into development 2026-07-13 07:33:00 +00:00
Owner

Small bot addition: intercept /support in the main Telegram bot with a dedicated handler (registered like /start), replying with a fixed support-desk info message — the operators' working hours and what to include (a description and, when possible, screenshots).

  • Reply is Russian or English by the sender's reported Telegram language (English fallback), mirroring /start.
  • /support is added to the bot's command menu (SetMyCommands, localized ru/en).
  • Being a dedicated handler, it intercepts /support before the support relay: the command line itself is not forwarded into an operator topic, while the user's following description still is. Answers in a private chat only.

Docs baked in: telegram README.md, docs/FUNCTIONAL.md (+ _ru mirror).

Tests: TestHandleSupportRepliesPrivateOnly (private ru / en / group-ignored). Full go build/vet/gofmt/test ./platform/telegram/... green locally.

Small bot addition: intercept `/support` in the main Telegram bot with a dedicated handler (registered like `/start`), replying with a fixed support-desk info message — the operators' working hours and what to include (a description and, when possible, screenshots). - Reply is **Russian or English** by the sender's reported Telegram language (English fallback), mirroring `/start`. - `/support` is added to the bot's command menu (`SetMyCommands`, localized ru/en). - Being a dedicated handler, it intercepts `/support` **before** the support relay: the command line itself is not forwarded into an operator topic, while the user's following description still is. Answers in a private chat only. Docs baked in: telegram `README.md`, `docs/FUNCTIONAL.md` (+ `_ru` mirror). Tests: `TestHandleSupportRepliesPrivateOnly` (private ru / en / group-ignored). Full `go build`/`vet`/`gofmt`/`test ./platform/telegram/...` green locally.
developer added 1 commit 2026-07-13 07:25:36 +00:00
feat(telegram): add /support command with support-desk info reply
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 12s
CI / integration (pull_request) Successful in 21s
CI / ui (pull_request) Has been skipped
CI / conformance (pull_request) Successful in 11s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m55s
e0360c98e2
Intercept /support in the main bot with a dedicated handler (registered
like /start), replying with a fixed support-desk info message: the
operators' working hours and what to include (a description and, when
possible, screenshots). The reply is Russian or English by the sender's
reported Telegram language, and the command is listed in the bot's
command menu (localized).

Being a dedicated handler, it intercepts /support before the support
relay, so the command line itself is not forwarded into an operator
topic while the user's following description still is.

Update the telegram README and FUNCTIONAL.md (+ _ru mirror).
owner approved these changes 2026-07-13 07:31:50 +00:00
developer merged commit 93ccc8c449 into development 2026-07-13 07:33:00 +00:00
developer deleted branch feature/telegram-support-command 2026-07-13 07:33:00 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: developer/scrabble-game#251