Skip to main content
POST
Create menu item

Авторизації

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

API token from the Zenedu dashboard

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

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

Bot ID

Тіло

application/json
type
enum<string>
обов'язково
Доступні опції:
link,
shop
title
string
обов'язково
Maximum string length: 100
icon
string
обов'язково
Maximum string length: 100
url
string<uri> | null

Required when type is link

Maximum string length: 2048

Відповідь

Item created

data
object

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

item
object

The affected item