Disconnect a Telegram group
Takes the bot out of the group and stops the org's gate there, from now on: whoever is in it stays, a muted person stays muted until an admin lifts it, and join requests wait for the group's other admins. Needs `org.integrations.edit`. Recorded as `telegram_group.disconnected`.
/v1/orgs/{org}/telegram-groups/{group}Takes the bot out of the group and stops the org's gate there, from now on: whoever is in it stays, a muted person stays muted until an admin lifts it, and join requests wait for the group's other admins. Needs org.integrations.edit. Recorded as telegram_group.disconnected.
Authorization
bearer An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.
In: header
Path Parameters
The org's id
^org_[0-9a-hjkmnp-tv-z]{26}$The Telegram group's id
^tgg_[0-9a-hjkmnp-tv-z]{26}$Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://api.synq.build/v1/orgs/org_01h455vb4pex5vsknk084sn02q/telegram-groups/tgg_01h455vb4pex5vsknk084sn02q" \ -H "Authorization: Bearer $SYNQ_API_KEY"Check a slug GET
Whether an org could take it as its slug, and a brand as its issuer slug. A new org needs both, unless it names its default brand's issuer slug.
A Telegram group's announced window GET
The group's window: its settings (Synq's defaults for one never saved), its state, the topics Synq has seen, every reminder with when it goes, and the counts: verified, still to verify, and unknown to Synq, with the deadline's pacing. Needs `org.integrations.view`.