Skip to main content
PUT
Update group invite

Авторизации

Authorization
string
header
обязательно

API token from the Zenedu dashboard

Параметры пути

bot
integer
обязательно

Bot ID

resource
integer
обязательно

Group ID

Тело

application/json
invite_text
string
обязательно

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

invite_button
string
обязательно

Invite button label

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

Invite button style

Доступные опции:
primary,
success,
danger

Ответ

Invite settings

data
object

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