telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Function italic

    • Wraps text with italic styling in either HTML or MarkdownV2 format.

      Parameters

      • text: string

        Content to format (will be automatically escaped).

      • mode: "MarkdownV2" | "HTML" = "HTML"

        Target parse mode ("HTML" or "MarkdownV2"). Default: "HTML".

      Returns string

      Formatted italic text string.