Telegram
Lees en beantwoord je Telegram-chats en -groepen vanuit elke AI-app, reageer op berichten en begin nieuwe gesprekken, met 10–20 seconden ertussen en binnen daglimieten.
Limieten
Per verbonden Telegram-account, gedeeld door elke AI-app en API-sleutel die het gebruikt. Dezelfde tools werken op elk netwerk: elk account houdt zijn eigen limieten.
- Bestanden in berichten: één afbeelding (JPEG, PNG of WebP, tot 8 MB) of één document (PDF, Word, Excel, PowerPoint, TXT of CSV, tot 15 MB) per bericht. Je AI ziet afbeeldingen die mensen sturen (tot 3.75 MB) en leest PDF-, Word-, Excel-, TXT- en CSV-bestanden als tekst (tot 15 MB).
- Daglimieten worden om 00:00 UTC gereset, weeklimieten op maandag om 00:00 UTC.
Veiligheidslimieten
Wat je Telegram-account in goede staat houdt. Ze gelden voor elke AI-app en API-sleutel op dit account, en je kunt ze niet uitzetten.
fresh: true dwingt een live leesactie af.Als een limiet is bereikt
Er wordt niets achter je rug om in de wachtrij gezet of opnieuw geprobeerd: de tool antwoordt met een fout die je AI-app kan lezen, uitleggen en op het juiste moment opnieuw kan proberen.
gapTe snel na de vorige actie. Wacht retry_after_seconds.limitDe dag- of weeklimiet is op. Vermeldt wanneer die wordt gereset.cooldownTelegram gaf tegengas; het account rust.permissionDeze app mocht dat niet doen. Verbind opnieuw en sta het toe.{ "error": "Telegram actions are spaced 10–20 s apart, at random, to look human. Wait 10s.", "code": "gap", "retry_after_seconds": 10 }
Tools
Precies wat je AI-app ontvangt van tools/list. Schrijftools versturen of wijzigen iets op je account: goede assistenten laten je de tekst zien voordat ze iets versturen.
Reply in an existing conversation (chat_id from list_chats), on any network: 1-to-1, group, or a Facebook Page's chat (answered as the Page). Plain text. Show the user the exact text (and which file) before calling this. One file can go with the text: image_url (an https link to an image), file_url (an https link to a document) or media_id (from upload_media, for an image or a document the user has on their device or attached in the chat). Documents: PDF, Word, Excel, PowerPoint (docx, xlsx, pptx, doc, xls, ppt), TXT or CSV, at most 15 MB; WhatsApp, Telegram, LinkedIn and Facebook Messenger take PDF, Word, Excel, PowerPoint, TXT and CSV files; Instagram takes PDFs only; Instagram Business takes PDFs only and Facebook Pages any of them. Instagram Business allow replies within 24 hours of the person's last message (Instagram: at most 1000 characters, JPEG or PNG); up to 7 days after it, only a reply the user wrote or approved word for word, with user_written: true (never for text you wrote on your own).
accountstringaccount_id from list_accounts (a listed chat's account_id). Needed only when several accounts are connected.chat_idstringverplichttextstringverplichtimage_urlstringmedia_id instead.file_urlstringmedia_id instead.media_idstringupload_media, then pass its media_id here once the file is uploaded (the user says so, or your own upload_command answered ok).user_writtenboolean{ "structuredContent": { "chat_id": "gq5Xp3bZUXCt6Zt1Z2rTsA", "message_id": "7mKQx2VdTnW8bLr4Yc9ey7", "sent": true }, "content": [ { "type": "text", "text": "Message sent." } ] }
- Ontvangen09:41:02
- Binnen de limieten28 van 100 vandaag
- Gespreid+12 s
- Verstuurd09:41:14