internal static Message Edit(long chatId, int oldMessageId, string text, InlineKeyboardMarkup replyMarkup = null, ParseMode parseMode = ParseMode.Html, bool disableWebPagePreview = true, bool disableNotification = false) { try { return(BotMethods.Edit(chatId, oldMessageId, text, replyMarkup, parseMode, disableWebPagePreview, disableNotification)); } catch (Exception ex) { ex.LogError(); return(null); } }
internal static Message Send(long chatId, string text, IReplyMarkup replyMarkup = null, ParseMode parseMode = ParseMode.Html, bool disableWebPagePreview = true, bool disableNotification = false) { return(BotMethods.Send(chatId, text, replyMarkup, parseMode, disableWebPagePreview, disableNotification)); }