mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Reputation managment.
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Kruzya.TelegramBot.Core.Extensions
|
||||
{
|
||||
public static class UserExtension
|
||||
{
|
||||
public static string ToHtml(this User user, bool byUsername = true)
|
||||
public static string ToHtml(this User user, bool byUsername = false)
|
||||
{
|
||||
var text = new StringBuilder();
|
||||
text.Append($"<a href=\"tg://user?id={user.Id}\">");
|
||||
|
||||
Reference in New Issue
Block a user