You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 17e4d43
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -50,7 +50,7 @@ The examples below use these package-style specifiers; on Deno, either add the m
50
50
This library only builds the message object. grammY already exposes the Bot API's `ctx.replyWithRichMessage`, so composing and sending stay separate — compose with any of the [APIs below](#the-three-apis), then hand the result to grammY:
A `RichMessage` instance `implements InputRichMessage`, so it goes straight to grammY (or any Bot API client) and serializes to the canonical value via `toJSON()`. Every functional block builder has a matching method, including media (`photo`, `video`, …) and containers (`blockQuote`, `collage`, `details`, …). Use `.add(block)` to append any pre-built block, and read the `blocks` getter for a snapshot that later mutations don't change.
@@ -169,8 +166,8 @@ For Deno, add the JSX runtime import alias so the compiler can resolve `jsxImpor
0 commit comments