Skip to content

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

@onatsko

Description

@onatsko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions