Skip to main content
POST
Confirm group

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

resource
integer
required

Group ID

Body

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

Response

Confirmed group

data
object

Telegram channel or group the bot grants access to

offer_id
integer | null

ID of the attached offer, if any