Rich messages

InputRichBlockPhoto

A block with a photo, corresponding to the HTML tag <img>.

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “photo”
photoInputMediaPhotorequiredThe photo. Caption is ignored.
captionRichBlockCaptionoptionalOptional. Caption of the block

import

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

used by

types