InputTextMessageContent

class pyrogram.types.InputTextMessageContent

Content of a text message to be sent as the result of an inline query.

Parameters
  • message_text (str) – Text of the message to be sent, 1-4096 characters.

  • parse_mode (str, optional) – By default, texts are parsed using both Markdown and HTML styles. You can combine both syntaxes together. Pass “markdown” or “md” to enable Markdown-style parsing only. Pass “html” to enable HTML-style parsing only. Pass None to completely disable style parsing.

  • entities (List of MessageEntity) – List of special entities that appear in message text, which can be specified instead of parse_mode.

  • disable_web_page_preview (bool, optional) – Disables link previews for links in this message.