Skip to main content
POST
Confirm channel

Авторизації

Authorization
string
header
обов'язково

API token from the Zenedu dashboard

Параметри шляху

bot
integer
обов'язково

Bot ID

resource
integer
обов'язково

Channel 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 channel

data
object

Telegram channel or group the bot grants access to

offer_id
integer | null

ID of the attached offer, if any