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

x/telegram_format/mod.ts>markdownv2.userMention

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

Create a user mention with a label text

Parameters

label: string
userId: number

Returns

string