We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
java.lang.IllegalArgumentException: publicKey has invalid format
i got generated public key from https://my.telegram.org/apps and i using bot id from https://api.telegram.org/bot/getUpdates
The text was updated successfully, but these errors were encountered:
You need to send /setpublickey command to BotFather and generate private key using openssl from command line openssl genrsa 2048 > private.key
openssl genrsa 2048 > private.key
After that, get public from generated PK openssl rsa -in private.key -pubout
openssl rsa -in private.key -pubout
and send printed result to botFather
Sorry, something went wrong.
No branches or pull requests
java.lang.IllegalArgumentException: publicKey has invalid format
i got generated public key from https://my.telegram.org/apps
and i using bot id from https://api.telegram.org/bot/getUpdates
The text was updated successfully, but these errors were encountered: