StaticGramBot API

InputRichBlockDetails

An expandable block for details disclosure, corresponding to the HTML tag <details>.

Поля

typeString
Type of the block, always “details”
Always shown summary of the block
Content of the block
is_openTrueoptional
Pass True if the content of the block is visible by default

Минимальный JSON

JSON
{
  "type": "details",
  "summary": {
    "type": "bold",
    "text": {}
  },
  "blocks": []
}

Где используется

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top