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

Telegram "Invalid Format" #340

Open
MaleNurse opened this issue Sep 18, 2023 · 1 comment
Open

Telegram "Invalid Format" #340

MaleNurse opened this issue Sep 18, 2023 · 1 comment

Comments

@MaleNurse
Copy link

Followed the instructions to create a bot and find the chat ID. Copied those values from BotFather and the API into the program but get the following error on every test/trigger:

Could not upload image D:\Alerts\DeepStack\Front.20230918_054444_AITOOLTEST_43420.3740001_AITOOLTEST_43467.8716698.jpg to Telegram with chatid '': Invalid format. A valid token looks like "1234567:4TT8bAc8GHUspu3ERYn-KGcvsvGB9u_n4ddy". ; Parameter name: token [ArgumentException] Mod: <TelegramUpload>d__44 Line:836:33

Even created a new bot and tried both group chat and 1-to-1 chat to be sure, but the same error occurred.

Screenshot 2023-09-18 at 12 35 03

Any suggestions?

@VorlonCD
Copy link
Owner

Did you get this worked out? Make sure you are using the 2.5.44 version.

What is the exact format? Where there is a number use 0 and letter use A

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