telegramx.js

InputRichMessage

interface

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

Declaration

interface InputRichMessage 

Properties

htmlproperty#
html?: string;

Optional. Content of the rich message to send described using HTML formatting. See rich message formatting options for more details.

is_rtlproperty#
is_rtl?: boolean;

Optional. Pass True if the rich message must be shown right-to-left

markdownproperty#
markdown?: string;

Optional. Content of the rich message to send described using Markdown formatting. See rich message formatting options for more details.

skip_entity_detection?: boolean;

Optional. 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