Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/telegram_format/mod.ts>markdownv2.spoiler

Format Telegram message texts with Markdown or HTML
Latest
function markdownv2.spoiler
import { markdownv2 } from "https://deno.land/x/telegram_format@v3.1.0/mod.ts";
const { spoiler } = markdownv2;

Format the input text as spoiler

Parameters

text: string

Returns

string