Skip to main content
PUT
Update command

Авторизації

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

API token from the Zenedu dashboard

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

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

Bot ID

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

Command ID

Тіло

application/json
name
string
обов'язково

Command name without slash, cannot be start

Maximum string length: 255
Pattern: ^[a-z0-9_]+$
description
string
обов'язково
Maximum string length: 255
action
enum<string>
обов'язково

Command action. Special actions (manage subscriptions, manage affiliate program) are accepted as well

Доступні опції:
send_step,
send_funnel_step,
product_navigation,
funnel_navigation,
add_to_product,
add_to_funnel,
manage_subscriptions,
manage_affiliate_program
settings
object | null

Action settings

Відповідь

Updated command

data
object