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

  • entities (List of :obj:`~pyrogram.types.MessageEntity`) – List of special entities that appear in message text, which can be specified instead of parse_mode.

  • link_preview_options (:obj:`~pyrogram.types.LinkPreviewOptions`, *optional*) – Link preview generation options for the message.