DMを除く全チャンネルのメッセージを購読するBOTイベントの追加
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 475
- Forks
- 32
- Avg merge
- 6h 29m
- Merged PRs (30d)
- 73
Description
一般ユーザーに対しては/wsのtimeline_streamingコマンドでアクティビティの流量を管理することができる
https://apis.trap.jp/#/notification/ws
現状BOTで全メッセージを購読するためには以下の方法がある
- 全チャンネルを購読する
- 一定期間ごとにGET /messagesを取得する
どちらもworkaroundっぽいのでBOTに対しても/bot/wsにtimeline_streamingコマンドを追加するかANY_MESSAGE_CREATEDのようなイベントを追加したい
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by comparing the existing /ws timeline_streaming command with the /bot/ws interface and the linked WebSocket API documentation. Decide whether the bot API should expose timeline_streaming or an ANY_MESSAGE_CREATED-style event, including the DM exclusion. Done means bots can receive messages from all non-DM channels without subscribing to every channel or polling GET /messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100