all: add support for topics and refactor other things

This commit is contained in:
Tulir Asokan
2025-12-06 14:52:39 +02:00
parent 14b3b1fed7
commit d5f87d2ec1
26 changed files with 797 additions and 390 deletions
@@ -0,0 +1,8 @@
-- v6 (compatible with v2+): Add table for topics
CREATE TABLE telegram_topic (
channel_id BIGINT NOT NULL,
topic_id BIGINT NOT NULL,
PRIMARY KEY (channel_id, topic_id)
);