You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* refactor: use SQLAlchemy Mapped and mapped_column for type hints
The SQLAlchemy models now use `Mapped` and `mapped_column` for
defining columns, which provides better type hinting and improves
code readability.
* fix: welcome message quickreply error
* feat: add roles, accpted_terms, and language fields to User model
* feat(user_repository.py): add methods to update user attributes
* feat: user data updates on postback events
The typo in the `update__accpted_terms` method name in
`user_repository.py` has been corrected to `update_accpted_terms`.
The `handle_postback_event` function in `postback.py` now updates
user data (accepted terms, language, role) in the database based
on the postback data reeived. The `WelcomeService` now validates
the reply token to prevent errors when the token is missing.
* docs: add log to user setting
* feat: handle unknown postback event
* feat: handle unhandled postback events
* feat: add clear_conversation_id and reset_user postback handlers
0 commit comments