tg_contacts
Retrieve Telegram contacts with views for all, birthdays, top interactions, online, or blocked. Filter by name and set a result limit.
Instructions
Your contacts, or a slice of them.
Args: query: filter by name or username (kind="all" only). limit: how many rows. kind: "all" — the contact list; "birthdays" — contacts whose birthday Telegram knows, sorted by date, which answers "whose birthday is coming up"; "top" — the people, groups and channels this account interacts with most, ranked by Telegram itself; "online" — contacts online right now; "blocked" — the block list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | all | |
| limit | No | ||
| query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |