skip to content
yaebal
yaebal
guide introduction yaebal meta ai tooling newgetting started create a bot core concepts examples recipes comparison cheat sheet typed examples faq troubleshooting
core context & filters contexts (autogen) media & files hooks & errors webhooks & deploy
telegram guides payments & stars inline mode chat admin service events message extras deep links mini apps
migration from gramio from puregram from grammy from telegraf
plugins / state overview authoring session sklad (storage) cache feature-flags i18n scenes state-machine onboarding conversation prompt ai (llm chat) newmorda
plugins / ui keyboard callback-data link-preview inline-results auto-answer hydrate newtyping ephemeral newpagination fmt (markdown/html) rich messages filters guards commands payments mini-app
plugins / media files file-id media-cache media-group split preview
plugins / ops again throttle ratelimiter broadcast cron panel analytics audit-log
scaling web (edge) production local bot api rate limits deploy targets observability queues & broadcasts runner workers runtimes router toml test
reference public api reference bot api reference @yaebal/types packages map
github opens in a new tab
Rich messages

InputRichBlock

This object represents a block in a rich formatted message to be sent. Currently, it can be any of the following types:

one of

  • InputRichBlockParagraph
  • InputRichBlockSectionHeading
  • InputRichBlockPreformatted
  • InputRichBlockFooter
  • InputRichBlockDivider
  • InputRichBlockMathematicalExpression
  • InputRichBlockAnchor
  • InputRichBlockList
  • InputRichBlockBlockQuotation
  • InputRichBlockExpandableBlockQuotation
  • InputRichBlockPullQuotation
  • InputRichBlockCollage
  • InputRichBlockSlideshow
  • InputRichBlockTable
  • InputRichBlockDetails
  • InputRichBlockMap
  • InputRichBlockButtons
  • InputRichBlockAnimation
  • InputRichBlockAudio
  • InputRichBlockDocument
  • InputRichBlockPhoto
  • InputRichBlockVideo
  • InputRichBlockVoiceNote
  • InputRichBlockThinking

import

types.ts
import type { InputRichBlock } from "@yaebal/types";

used by

types

  • InputRichBlockBlockQuotation
  • InputRichBlockCollage
  • InputRichBlockDetails
  • InputRichBlockListItem
  • InputRichBlockSlideshow
  • InputRichMessage
official Bot API docs: https://core.telegram.org/bots/api/#inputrichblock
edit this page