Skip to main content
POST
Upload channel invite image

Авторизации

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

API token from the Zenedu dashboard

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

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

Bot ID

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

Channel ID

Тело

multipart/form-data
file
file
обязательно

Image file (jpg, jpeg, png, webp; up to 20 MB)

Ответ

Invite settings

data
object

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