freetravel/openspec/changes/archive/2026-11-17-frtvl-20-bot-login-label/specs/telegram-link/spec.md
Peppa 089a8dc5ff
All checks were successful
peppa/lint lint: success за 1с
peppa/typecheck typecheck: success за 3с
peppa/test test: success за 3с
peppa/build build: success за 5с
ci / checks (pull_request) Successful in 44s
deploy / deploy (pull_request) Successful in 22s
FRTVL-20: на экране имя бота и настоящий логин
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 17:38:16 +05:00

15 lines
883 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## ADDED Requirements
### Requirement: Бот показан понятно
Экран привязки SHALL показывать отображаемое имя бота и его настоящий логин, а ссылка SHALL вести на настоящий логин.
#### Scenario: Имя отличается от логина
- **GIVEN** у бота имя «my_internships_bot» и логин «nternships_bot»
- **WHEN** владелец открывает привязку Телеграма
- **THEN** он видит «my_internships_bot (@nternships_bot)»
- **AND** «Открыть бота» ведёт на t.me/nternships_bot
#### Scenario: Логин не задан
- **GIVEN** логин бота неизвестен
- **WHEN** владелец открывает привязку
- **THEN** он видит «бот ещё не настроен»