Skip to main content
PUT
Connect or replace the tenant's Telegram bot

Authorizations

x-api-key
string
header
required

Body

application/json
botToken
string
required

Telegram bot token

Minimum string length: 20
chatId
string
required

Target chat id the bot posts to

Minimum string length: 2
Example:

"-1001234567890"

Response

OK (connected)

success
boolean
required
statusCode
integer
required
message
string
required
data
object
required