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