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: 1. Receive your message 2. Analyze the content 3. Categorize it 4. Save as Markdown 5. 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