added full gifts support

This commit is contained in:
onysd 2026-08-07 10:04:13 +03:00
parent ea5b86de8f
commit 354128c106
35 changed files with 1502 additions and 103 deletions

View file

@ -0,0 +1,9 @@
-- Remove the built-in @gif seed. Its private history is left alone: chat rows
-- reference the account, and dropping them would rewrite users' dialogs.
DELETE FROM public.read_model_versions
WHERE owner_user_id = 1250000015 AND peer_type = 'user' AND peer_id = 1250000015;
DELETE FROM public.peer_usernames
WHERE peer_type = 'user' AND peer_id = 1250000015;
DELETE FROM public.bots WHERE bot_user_id = 1250000015;