[REQUEST] Integration: Telegram user bot (MTProto)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- api, authentication, backend
Research direction
Start with the linked MTProto documentation, TL schema, and Telegram API methods, then compare them with Sim’s existing Telegram Bot API integration. Done means workflows can authenticate with each user’s API ID and API hash and support the requested user-side actions without shared credentials.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Sim’s Telegram integration is Bot API only. There’s no way to use the user API (MTProto) from workflows — e.g. send/receive as a user, use full chats/channels/media. People who need user-bot behaviour have to use workarounds (e.g. HTTP blocks to third‑party services) instead of a native Sim block.
Describe the solution you'd like
Add an integration for a Telegram user bot (MTProto) so workflows can call the user API. Auth via my.telegram.org: users create an app and configure their own API ID and API hash (no shared/hardcoded credentials). Store API ID / API hash in env or integration settings.
Describe alternatives you've considered
Using only the Bot API: doesn’t cover user-side actions (e.g. read DMs, act as user).
Calling external user-bot APIs via HTTP blocks: possible but no native block, no unified credentials, more glue code.
Additional context
API methods: https://core.telegram.org/methods
TL schema: https://core.telegram.org/schema/mtproto
MTProto: https://core.telegram.org/mtproto
- Dominant language
- TypeScript
- Stars
- 29.8k
- Forks
- 3.9k
- Avg merge
- 1h 43m
- Merged PRs (30d)
- 937
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from simstudioai/sim
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
simstudioai/sim#10710 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
simstudioai/sim#10708 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
simstudioai/sim#10706 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
simstudioai/sim#10704 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
simstudioai/sim#10702 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
melgarafael/DeskcommCRM#5614 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 76/100
slackapi/slack-health-score#253 ·
Maintainers usually reply within 1 day
-
feature needs triage site
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
owid/owid-grapher#8019 ·
Maintainers usually reply within 1 day
-
via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug:new
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
callstackincubator/simlock#2088 ·
Maintainers usually reply within 1 day