Exemplo n.º 1
0
 /// <summary>
 /// Format text using HTML. Text Mention.
 /// </summary>
 /// <param name="input">Input text.</param>
 /// <param name="userId">Unique identifier for this user or bot.</param>
 /// <returns>Stylized <see cref="string"/>.</returns>
 public static string AsHtmlTextMention(this string input, long userId) => _formattingHelper.TextMention(input, userId, ParseModeKind.HTML);