Skip to main content
POST
Attach offer to group

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

resource
integer
required

Group ID

offer
integer
required

Offer ID

Body

application/json
grant_access
boolean
default:true

Immediately grant access to current offer subscribers

Response

Group

data
object

Telegram channel or group the bot grants access to