-
Add TelegramId, Email fields in database schema
-
TelegramId, email – new fields available for create and update user methods.
-
New API endpoints available.
Be careful, this two endpoints will return array of users, cause TelegramId and Email is not unique fields.-
GET /api/users/tg/{telegramId}
-
GET /api/users/email/{email}
-
-
Refactor and simplify other “Get by” methods.
Done.