X.Serilog.Sinks.Telegram icon indicating copy to clipboard operation
X.Serilog.Sinks.Telegram copied to clipboard

Method not found: 'Void Telegram.Bot.TelegramBotClient..ctor(System.String, System.Net.Http.HttpClient)'

Open onatsko opened this issue 1 month ago • 0 comments
trafficstars

Describe the bug I used this lib to send logs to telegram. logConfig = logConfig.WriteTo.TelegramCore(token, chatId, logLevelError);

To Reproduce Steps to reproduce the behavior:

  1. Start app with code
logConfig = logConfig
                    .WriteTo.TelegramCore(token, chatId, logLevelError);
  1. See error [17:15:36 ERR] Method not found: 'Void Telegram.Bot.TelegramBotClient..ctor(System.String, System.Net.Http.HttpClient)'.

Screenshots

Image Image Image

Desktop (please complete the following information):

  • OS: Win11
  • Browser Chrome

Additional context if I use extended config (.WriteTo.Telegram), I also have this problem

onatsko avatar Oct 03 '25 14:10 onatsko