diff --git a/TelegramBotBase/Markdown/Generator.cs b/TelegramBotBase/Markdown/Generator.cs index a6f4ecd..90c061f 100644 --- a/TelegramBotBase/Markdown/Generator.cs +++ b/TelegramBotBase/Markdown/Generator.cs @@ -18,7 +18,7 @@ namespace TelegramBotBase.Markdown /// /// /// - public static String AsLink(this String url, String title = null, String tooltip = null) + public static String Link(this String url, String title = null, String tooltip = null) { switch (OutputMode) { @@ -38,7 +38,7 @@ namespace TelegramBotBase.Markdown /// public static String MentionUser(this long userId, String title = null) { - return AsLink("tg://user?id=" + userId.ToString(), title); + return Link("tg://user?id=" + userId.ToString(), title); } ///