Skip to main content
PATCH
Update Telegram mini 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

Відповідь

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