Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
onatsko opened this issue Nov 27, 2024 · 0 comments

Comments

@onatsko
Copy link
Collaborator

onatsko commented Nov 27, 2024

Describe the bug
After update to .NET 9 and Telegram.Bot to 22.1.0
get error

System.MissingMethodException: Method not found: 'Void Telegram.Bot.TelegramBotClient..ctor(System.String, System.Net.Http.HttpClient)'.
   at X.Serilog.Sinks.Telegram.TelegramSink..ctor(ChannelWriter`1 channelWriter, ILogsQueueAccessor logsQueueAccessor, TelegramSinkConfiguration sinkConfiguration, IMessageFormatter messageFormatter)
   at X.Serilog.Sinks.Telegram.Extensions.LoggerConfigurationTelegramExtensions.Telegram(LoggerSinkConfiguration loggerConfiguration, Action`1 configureAction, IMessageFormatter messageFormatter, LogEventLevel restrictedToMinimumLevel)

moved from old repo

a-gubskiy pushed a commit that referenced this issue Dec 6, 2024
…NetCore-6.7.0

Bump Swashbuckle.AspNetCore from 6.6.2 to 6.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant