Skip to main content
PATCH
Update broadcast button

Авторизации

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

API token from the Zenedu dashboard

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

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

Bot ID

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

Broadcast ID

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

Button ID

Тело

application/json
name
string

Button label

type
enum<string>

Button type

Доступные опции:
link,
task,
action,
offer,
affiliate,
app

URL for link buttons

offer_id
integer | null

Offer ID for offer buttons

actions
object[]

Button actions

settings
object

Button settings

Ответ

Button updated

data
object