telegram
Reads TELEGRAM messaging via Unipile: 1-to-1 AND group conversations. Sending is telegram_act.
op:
"list" (default): the conversations, newest first, in
items(limit1-100). Acursoris returned only when Unipile paginates the channel (WhatsApp does not: a full page carriestruncated). Group threads are listed alongside the 1-to-1 ones (is_group, named by the group'sname) and read the same way. Each 1-to-1 thread is enriched with the counterpart's name (attendee_name);with_names=Falseturns this enrichment off (one API call fewer)."read": the messages of a thread, 1-to-1 or group (
chat_idfrom op="list"). A message Unipile passed on without text nor attachment carriescontent_unavailable. Each attachment carries asource: pass it tooto_import(target="project_file") to file it, or to any tool taking asource— the server fetches the file, never through the conversation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "telegram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | list | |
| _org | No | Org (id) de CET APPEL. `oto_list_orgs()`. | |
| limit | No | ||
| _group | No | Équipe (id) de CET APPEL, sous son org parente. | |
| cursor | No | ||
| _run_id | No | OBLIGATOIRE à chaque appel dès `run_start` ou `data_claim_next` : sans lui, l'écriture sur une ligne réservée est refusée. Hérité seulement si le serveur tient un run actif — n'y compte pas. | |
| chat_id | No | ||
| _account | No | Compte à OPÉRER quand plusieurs existent. `oto_identity(op='list')`. | |
| _project | No | Projet (id) de CET APPEL — jeton PRIMAIRE. `oto_project(op='list')`. | |
| _instance | No | Instance de connecteur PRÉCISE (un credential exact). `oto_instance(op='list')`. | |
| with_names | No |