one-zero-eight / music-room

API for music room booking
MIT License
0 stars 1 forks source link

Tell people about the requirement of having username #42

Closed ArtemSBulgakov closed 3 days ago

ArtemSBulgakov commented 7 months ago

Describe the feature

Currently users see error that doesn't say anything about username requirement.

Suggested solution

While filling the profile, users without username should see the message with requirement of setting username in Telegram settings. Perhaps, they should see it even if they clear username later.

Additional context

No response

dantetemplar commented 2 weeks ago

Or rework bot and api so that it will be work fine without usernames. Mentions can be implemented by user id ([inline mention of a user](tg://user?id=123456789)). Need to check stuff with "username" and "alias". In schemas it should be str | None = None, in models: Mapped[str | None].