freetravel/openspec/changes/frtvl-10-link-label-mobile/specs/telegram-link/spec.md
Peppa a0444ce736
Some checks failed
peppa/lint lint: success за 1с
peppa/typecheck typecheck: success за 2с
peppa/test test: success за 3с
peppa/build build: success за 2с
ci / checks (pull_request) Successful in 24s
deploy / deploy (pull_request) Failing after 26s
FRTVL-13: имя бота из getMe, понятная ошибка привязки без бота
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 01:51:35 +05:00

14 lines
871 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 показывать подписи «Бот:» и «Код привязки:» и кнопки в порядке привязки.
#### Scenario: Подписи после привязки
- **GIVEN** нажата «Привязать Телеграм» и получен код «abc» для бота «peppa_bot»
- **WHEN** открыт блок привязки
- **THEN** видны «Бот: @peppa_bot» и «Код привязки: abc» без пробела перед двоеточием
#### Scenario: Бот не настроен
- **GIVEN** логин бота неизвестен
- **WHEN** открыт блок привязки
- **THEN** строка «Бот:» содержит пояснение, а не пустое место