/tgapi/ that transparently forwards requests to api.telegram.org and captures outgoing messages.
Why Use the API Proxy?
Telegram’sgetUpdates only returns incoming messages — messages sent by the bot itself are not included. The API proxy solves this by intercepting send methods and saving the sent message to the database.
Setup
Change your backend’s API base URL:Captured Methods
| Method | Description |
|---|---|
sendMessage | Text messages |
sendPhoto | Photos |
sendAudio | Audio files |
sendDocument | Documents |
sendVideo | Videos |
sendAnimation | GIFs/animations |
sendVoice | Voice messages |
sendVideoNote | Video notes |
sendSticker | Stickers |
sendLocation | Locations |
sendVenue | Venues |
sendContact | Contacts |
sendPoll | Polls |
sendDice | Dice |
forwardMessage | Forwarded messages |
copyMessage | Copied messages |
editMessageText | Edited messages |