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

System.MissingMethodException in cv4pve-admin with Telegram Bot Integration #128

Open
1 of 2 tasks
AkaUdeptrai opened this issue Feb 15, 2025 · 2 comments
Open
1 of 2 tasks

Comments

@AkaUdeptrai
Copy link

Bug type

Other

Component name

Telegram Bot Integration

What happened?

Image

Expected behavior

Can't use

Relevant log output

Proxmox VE Version

8.3.3

Version (bug)

1.2.0 Docker Version

Version (working)

No response

What browsers are you seeing the problem on?

No response

On what operating system are you experiencing the issue?

Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct
@AkaUdeptrai
Copy link
Author

System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task1 Telegram.Bot.TelegramBotClientExtensions.SendTextMessageAsync(Telegram.Bot.ITelegramBotClient, Telegram.Bot.Types.ChatId, System.String, System.Nullable1, System.Collections.Generic.IEnumerable1, System.Nullable1, System.Nullable1, System.Nullable1, System.Nullable1, System.Nullable1, Telegram.Bot.Types.ReplyMarkups.IReplyMarkup, System.Threading.CancellationToken)'.
at Corsinvest.ProxmoxVE.TelegramBot.Api.BotManager.ProcessMessage(Message message)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Corsinvest.ProxmoxVE.TelegramBot.Api.BotManager.ProcessMessage(Message message)
at Corsinvest.ProxmoxVE.TelegramBot.Api.BotManager.HandleUpdateAsync(ITelegramBotClient botClient, Update update, CancellationToken cancellationToken)
at Telegram.Bot.Polling.DefaultUpdateHandler.HandleUpdateAsync(ITelegramBotClient botClient, Update update, CancellationToken cancellationToken)
at Telegram.Bot.Polling.DefaultUpdateReceiver.ReceiveAsync(IUpdateHandler updateHandler, CancellationToken cancellationToken)
at Telegram.Bot.TelegramBotClientExtensions.ReceiveAsync(ITelegramBotClient botClient, IUpdateHandler updateHandler, ReceiverOptions receiverOptions, CancellationToken cancellationToken)
at Telegram.Bot.TelegramBotClientExtensions.<>c__DisplayClass126_0.<b__0>d.MoveNext()
Start listening
Telegram
Bot User: @xxxx
Bot UserId: @xxxx
Proxmox VE
Host: 192xxxx
Username: telegrambot
Started bot in cluster pve-homelab...

@franklupo
Copy link
Member

Hi,
if you try manually https://github.com/Corsinvest/cv4pve-botgram does it work?

best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants