Skip to main content
PUT
Update channel invite

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

resource
integer
required

Channel ID

Body

application/json
invite_text
string
required

Invite message text (HTML allowed; length limit is lower when an image is attached)

invite_button
string
required

Invite button label

Maximum string length: 255
invite_button_style
enum<string> | null

Invite button style

Available options:
primary,
success,
danger

Response

Invite settings

data
object

Invite message settings; empty fields mean the bot sends the default text