Telegram Bot
Telegram Bot
Chamber's Telegram bot lets you add expenses on the go using text messages or receipt photos. The AI automatically parses your messages and extracts expense details.
Table of Contents
- What is the Telegram Bot?
- Linking Your Account
- Supported Commands
- Adding Expenses via Text
- Adding Expenses via Receipt Photos
- Adding Expenses via PDF
- Duplicate Detection
- Unlinking Your Account
- Troubleshooting
What is the Telegram Bot?
The Telegram bot provides a convenient way to track expenses from your phone:
Features:
- Add expenses by sending text messages
- Upload receipt photos for AI parsing
- Send PDF receipts
- Works from anywhere with internet
- Faster than opening the web app
- Great for capturing expenses immediately
How It Works:
- Link your Telegram account to Chamber
- Send messages or photos to the bot
- AI extracts expense details
- Expenses appear in your Chamber account
Linking Your Account
Step 1: Find Your Linking Code
- Log in to Chamber web app
- Go to Telegram in the sidebar
- Your 6-digit linking code is displayed
- Code expires in 30 minutes
Step 2: Start the Bot
- Open Telegram on your phone
- Search for @ChamberBot (or the bot username shown in Chamber)
- Tap "Start" or send
/start
Step 3: Link Your Account
-
Send the linking code to the bot:
/start 123456(Replace 123456 with your actual code)
-
Bot confirms:
✅ Account linked successfully! You can now send expenses to Chamber.
Connection Status
In the Chamber web app, the Telegram page shows:
- ✅ Linked - Your account is connected
- ❌ Not Linked - Link your account to use the bot
Refresh: Click "Refresh" to check current status
Generate New Code: Click "Generate Code" if your code expired
Supported Commands
/start
Starts the bot and links your account.
Usage:
/start 123456
/unlink
Disconnects your Telegram account from Chamber.
Usage:
/unlink
Note: This stops the bot from creating expenses. You can relink anytime.
/help
Shows help message with available commands.
Usage:
/help
Adding Expenses via Text
Simply send a message describing your expense. The AI extracts:
- Amount
- Category
- Description
- Merchant (if mentioned)
Text Message Examples
Simple Expense:
Spent $50 on groceries
→ Amount: $50, Category: Food, Description: Groceries
Detailed Expense:
Paid $120 for electricity bill at State Power Company
→ Amount: $120, Category: Bills, Description: Electricity bill, Merchant: State Power Company
Restaurant:
Lunch at Subway $15.50
→ Amount: $15.50, Category: Food, Description: Lunch, Merchant: Subway
Transportation:
Uber ride to airport $35
→ Amount: $35, Category: Travel, Description: Uber ride to airport, Merchant: Uber
Shopping:
Bought a new phone case on Amazon for $12.99
→ Amount: $12.99, Category: Shopping, Description: Phone case, Merchant: Amazon
Tips for Text Messages
- Include amount - Always mention the amount
- Be specific - "Starbucks coffee $5" vs "coffee $5"
- Mention merchant - Helps with tracking
- Use currency - $, ₹, €, £ are recognized
- Natural language - Write as you'd tell a friend
Confirmation Messages
After parsing, the bot sends:
✅ Expense added successfully!
Amount: $50.00
Category: Food
Description: Groceries
Merchant: Whole Foods
From account: Bank Account
Adding Expenses via Receipt Photos
Take a photo of a receipt and send it to the bot. The AI extracts details from the image.
Supported Receipts
- Restaurant bills
- Store receipts
- Invoices
- Gas station receipts
- Any printed receipt
How to Send Receipts
- Tap the attachment icon in Telegram
- Choose "Photo"
- Take or select a receipt photo
- Send to the bot
Tip: Take clear, well-lit photos for best results.
What the AI Extracts
From receipt images, the AI extracts:
- Total amount - The final amount paid
- Merchant name - Store or restaurant name
- Date - Transaction date
- Items - Sometimes individual items (if readable)
- Category - Based on merchant type
Confirmation
✅ Expense added from receipt!
Amount: $47.23
Category: Food
Description: Dinner
Merchant: Olive Garden
Date: March 15, 2024
Receipt saved successfully.
Photo Quality Tips
Good Photos:
- ✅ Well-lit
- ✅ Flat, no wrinkles
- ✅ Entire receipt visible
- ✅ Text is readable
Avoid:
- ❌ Blurry images
- ❌ Shadows covering text
- ❌ Folded/crumpled receipts
- ❌ Angled photos
Adding Expenses via PDF
Send PDF receipts or invoices to the bot.
How to Send PDFs
- Tap the attachment icon
- Choose "File"
- Select a PDF
- Send to the bot
Note: The bot extracts text from the PDF and parses it like a receipt photo.
Duplicate Detection
Chamber prevents duplicate expenses from Telegram.
How It Works
When you send an expense, Chamber checks:
- Same amount
- Same or similar description
- Within 5 minutes of a previous entry
If a duplicate is detected:
⚠️ Possible duplicate detected
Similar expense already added:
- Amount: $50.00
- Description: Groceries
- Time: 2 minutes ago
This expense was not added. If this is different, try again with more details.
Why Duplicates Happen
- Sending the same message twice
- Receipt photo + text description
- Network issues causing resends
Avoiding Duplicates
- Wait for confirmation before sending again
- If adding details, edit the original message
- Check expense list if unsure
Unlinking Your Account
To disconnect Telegram:
Method 1 - Via Telegram:
/unlink
Method 2 - Via Chamber:
- Go to Telegram page
- Click "Unlink Account"
What Happens:
- Bot stops creating expenses
- Past expenses remain
- You can relink anytime
- Your data is not deleted
Troubleshooting
Bot Not Responding
Check:
- Is your account still linked? Check Chamber web app
- Try sending
/startagain - Check if the bot is online
Expenses Not Appearing
Check:
- Wait a few seconds - there's a small delay
- Refresh the Chamber web app
- Check your internet connection
- Check if AI parsing failed (see error messages)
Wrong Category/Amount
The AI isn't perfect. If parsing is wrong:
- Edit the expense in the web app
- When texting, be more specific
- For receipts, ensure photo quality is good
Linking Code Expired
Solution:
- Go to Chamber → Telegram
- Click "Generate New Code"
- Use the new code within 30 minutes
"Account Already Linked" Error
Solution:
- Your Telegram is already linked to another Chamber account
- Unlink first, then relink
Receipt Not Parsing
Try:
- Better lighting
- Flatten the receipt
- Closer photo (but not blurry)
- Manual entry via web app
Privacy & Security
- Receipts are stored securely in Cloudflare R2
- Only you can access your expenses
- Telegram messages are processed by AI and not stored
- Your data is never shared with third parties
Best Practices
- Link Telegram - Makes expense tracking much faster
- Send immediately - Don't wait, capture expenses while fresh
- Use natural language - No need for special formats
- Keep receipts - Upload photos for important purchases
- Check confirmations - Verify AI parsed correctly
- Edit if needed - Fix any mistakes in web app
- Keep bot handy - Add to Telegram favorites
Supported Currencies
The bot recognizes:
- $ (USD)
- ₹ (INR)
- € (EUR)
- £ (GBP)
Expenses are stored in your preferred currency from settings.
Related Features
- Expense Tracking - View and manage expenses added via Telegram
- Settings - Set your currency and other preferences
Questions? See the FAQ or Troubleshooting Guide.