telegram_sync
Collects and stores recent Telegram messages in a local database. Background daemon syncs continuously; manually fetches if daemon is inactive.
Instructions
최근 N분간의 텔레그램 메시지를 수집·구조화해 로컬 DB에 저장합니다.
평소엔 백그라운드 수집 데몬이 DB를 채우므로 수동 호출은 보통 불필요합니다. 데몬이 가동 중이면 그쪽이 텔레그램 세션을 소유하므로(동시 접속 시 충돌) 직접 sync는 건너뛰고 DB 신선도만 보고합니다. 데몬이 없을 때만 직접 1회 수집합니다.
Args: minutes: 수집 대상 시간 범위(분). 기본 60. per_channel_limit: 채널당 최대 조회 메시지 수. 기본 500.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minutes | No | ||
| per_channel_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |