Skip to main content
PATCH
Update web app settings

Авторизации

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

API token from the Zenedu dashboard

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

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

Bot ID

Тело

application/json
brand_name
string
Maximum string length: 255
open_button_name
string
Maximum string length: 255
appearance
enum<string>
Доступные опции:
system,
light,
dark
brand_color
string | null

Hex color, e.g. #1A2B3C

Pattern: ^#[0-9A-Fa-f]{6}$
disable_branding
boolean
show_bot_products
boolean
support_type
enum<string>
Доступные опции:
bot,
link
support_text
string
phone_login_enabled
boolean

Web only

Ответ

Updated draft

data
object

Draft of a bot app (mini app or web app) with publication status

first_publication
boolean

Present on app-level actions; true on the first publication