Перейти к основному содержанию
POST
Confirm group

Авторизации

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

API token from the Zenedu dashboard

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

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

Bot ID

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

Group ID

Тело

application/json
folder_id
integer | null

Folder ID

offer_id
integer | null

Existing offer ID to attach; cannot be combined with offer

offer
object | null

New offer to create and attach (same fields as the create offer request); cannot be combined with offer_id

Ответ

Confirmed group

data
object

Telegram channel or group the bot grants access to

offer_id
integer | null

ID of the attached offer, if any