GramIO API Reference / gramio/dist / TelegramInputRichMessage
Interface: TelegramInputRichMessage
Defined in: @gramio/types/out/objects.d.ts:7105
Describes a rich message to be sent. Exactly one of the fields html, markdown, or blocks must be used.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
blocks? | TelegramInputRichBlock[] | Optional. Content of the rich message to send described as a list of blocks | @gramio/types/out/objects.d.ts:7109 |
html? | string | Optional. Content of the rich message to send described using HTML formatting. See rich message formatting options for more details. Use media field to specify the media used in the message. | @gramio/types/out/objects.d.ts:7113 |
is_rtl? | boolean | Optional. Pass True if the rich message must be shown right-to-left | @gramio/types/out/objects.d.ts:7125 |
markdown? | string | Optional. Content of the rich message to send described using Markdown formatting. See rich message formatting options for more details. Use media field to specify the media used in the message. | @gramio/types/out/objects.d.ts:7117 |
media? | TelegramInputRichMessageMedia[] | Optional. List of media that are specified in the markdown or html fields using tg://photo?id=, tg://video?id=, tg://document?id=, and tg://audio?id= links | @gramio/types/out/objects.d.ts:7121 |
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 | @gramio/types/out/objects.d.ts:7129 |