API reference / Account
Stop using the workspace's Telegram bot
Troopy stops running the workspace's own bot; people talk to the Chief of Staff through Troopy's shared bot again. Its owner deletes it in @BotFather. Needs an owner or admin.
/api/v1/telegram/botOther ways to call it
troopy telegram remove-botIdempotency-Key header. A retry with the same key gets the first answer back, and the operation runs one time.Response
200 · application/jsondata*object7 properties
available*booleanWhether this Troopy has a Telegram bot set up
bot*string | nullThe bot's Telegram username
linked*booleanWhether your Telegram is linked to this workspace
username*string | nullThe linked Telegram account's username, if it has one
linkedAt*string | nullworkspaceBot*object | nullThe workspace's own bot, named after its lead, once someone made it: people talk to the Chief of Staff there
4 properties
username*stringIts Telegram username
disabled*string | nullWhy it stopped answering, or null
canOpen*booleanWhether Telegram lets you open it: its owner and the first 10 others who connected Telegram here
createdAt*stringISO 8601 date and time
createBotUrl*string | nullOpens Telegram's create-bot screen, filled in with the lead's name: for owners and admins with Telegram linked, while the workspace has no bot