[REQUEST] Integration: Telegram user bot (MTProto)

オープン
#3,519 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

feature

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

主要言語
TypeScript
スター
29.8k
フォーク
3.9k
平均マージ
1時間 44分
マージ済み PR(30日)
841

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

simstudioai/sim のほかの issue

simstudioai/sim の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。