Exemple #1
0
 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);
     }
 }
Exemple #2
0
 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));
 }