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

Register commands with telegram #171

Open
BoKKeR opened this issue Jan 8, 2025 · 3 comments
Open

Register commands with telegram #171

BoKKeR opened this issue Jan 8, 2025 · 3 comments
Labels
Feature request New feature or request

Comments

@BoKKeR
Copy link

BoKKeR commented Jan 8, 2025

image

I have worked on a different telegram bot before, and there is an option to register the commands with telegram. This way when you write a forwardslash it shows all the available commands

https://docs.python-telegram-bot.org/en/stable/telegram.ext.applicationbuilder.html#telegram.ext.ApplicationBuilder.post_init

@Waterboy1602 Waterboy1602 added the Feature request New feature or request label Jan 8, 2025
@raaifr
Copy link

raaifr commented Jan 20, 2025

I think that is set using BotFather for bots you own, not actually within the app.
Goto BotFather on telegram and send /setcommand
choose your bot from there and send the commands listed in the ReadMe in the format it prompts.

@BoKKeR
Copy link
Author

BoKKeR commented Jan 20, 2025

It can also be done with the api automatically on start. Do you take PRs for this ?

@raaifr
Copy link

raaifr commented Jan 23, 2025

Apologies. I have added this into my current PR. waiting for review.

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

No branches or pull requests

3 participants