Working with Content¶
Learn how to work with different types of content in tg-note.
Supported Content Types¶
- ✅ Text messages
- ✅ Forwarded messages from channels
- ✅ Photos with captions
- ✅ Documents
- ✅ Links and URLs
- ✅ Multiple consecutive messages
Sending Text Messages¶
Simply send any text to save it:
The bot will:
- Receive your message
- Analyze the content
- Categorize it
- Save as Markdown
- Commit to Git
Forwarding Messages¶
Forward messages from any chat or channel:
- Find the message
- Tap Forward
- Select your tg-note bot
Works with:
- Channel posts
- Group messages
- Media with captions
- Links
Sending Multiple Messages¶
Send consecutive messages for automatic grouping:
Messages sent within 30 seconds (configurable) are grouped into one note.
Sending Links¶
Send article URLs:
With Qwen Code CLI, the bot will:
- Fetch the article
- Analyze content
- Extract key info
- Save structured note
Processing Workflow¶
graph LR
A[Content] --> B[Analysis]
B --> C[Categorization]
C --> D[Markdown]
D --> E[Git Commit]
E --> F[Notification]
Output Structure¶
Your KB will have this structure:
knowledge_base/
├── topics/
│ ├── ai/
│ │ └── 2025-10-03-neural-networks.md
│ ├── biology/
│ │ └── 2025-10-03-crispr.md
│ └── physics/
│ └── 2025-10-03-quantum.md
└── index.md
See Also¶
Connections and Summaries¶
- После обработки появляется секция «Связанные сущности», где можно увидеть файлы, папки и конкретные фрагменты, связанные с результатом.
- Новые материалы из текущего запуска автоматически исключаются, поэтому раздел показывает только уже существующие элементы базы знаний.
- Поддерживаются агрегированные связи (
granularity: summary) — одна запись может ссылаться сразу на несколько файлов или целую папку. Для точечных ссылок используйтеgranularity: detailedи добавляйтеfile+anchor. - Каждая запись сопровождается чётким описанием связи (1–2 предложения), чтобы быстро понять, зачем этот объект важен.
- В секции с изменениями по-прежнему отображаются GitHub-ссылки, если база знаний подключена к репозиторию.