Add voice bot welcome tracking functionality

- Implemented methods to check and mark if a user has received a welcome message from the voice bot in both async and synchronous database classes.
- Updated database schema to include a new field for tracking welcome message status.
- Enhanced voice handler to utilize the new tracking methods, improving user interaction flow and engagement metrics.
This commit is contained in:
2025-09-01 19:43:46 +03:00
parent 2d40f4496e
commit 3a7b0f6219
5 changed files with 158 additions and 13 deletions

View File

@@ -86,7 +86,8 @@ CREATE TABLE IF NOT EXISTS our_users (
has_stickers INTEGER DEFAULT 0 NOT NULL,
emoji TEXT,
date_added DATE NOT NULL,
date_changed DATE NOT NULL
date_changed DATE NOT NULL,
voice_bot_welcome_received BOOLEAN DEFAULT 0
);
-- Audio moderation tracking