freetravel/openspec/changes/archive/2026-11-17-frtvl-20-bot-login-label/design.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

2 lines
292 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.

Имя берём из getMe (first_name) вместе с логином, отдаём как botName в /api/settings; на странице функция botLabel. Логин для ссылки не подменяем — иначе ссылка вела бы на чужого бота.