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 (ParseMode, optional) – By default, texts are parsed using both Markdown and HTML styles. You can combine both syntaxes together.

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