Rich messages

InputRichMessage

Describes a rich message to be sent. Exactly one of the fields html or markdown must be used.

fields

fieldtyperequireddescription
htmlstringoptionalOptional. Content of the rich message to send described using HTML formatting. See rich message formatting options for more details.
markdownstringoptionalOptional. Content of the rich message to send described using Markdown formatting. See rich message formatting options for more details.
is_rtlbooleanoptionalOptional. Pass True if the rich message must be shown right-to-left
skip_entity_detectionbooleanoptionalOptional. Pass True to skip automatic detection of entities (e.g., URLs, email addresses, username mentions, hashtags, cashtags, bot commands, or phone numbers) in the text

import

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

used by

methods

types