Skip to content

Add support for getMyCommands/setMyCommands #13

@LinqLover

Description

@LinqLover

Currently, bot developers need to talk to @Botfather in order to update the list of commands their bots understand. However, a more elegant solution could be provided if the bot was able to reflect its understood commands itself and report any changes to the Bot API.

This would involve designing stronger command management in the framework - currently, clients are responsible themselves for dispatching commands. Also, there might be some synchronization issues - when should updates be sent to the server? With a constant frequency? By monitoring changes to a certain method? What should happen if the bot is suddenly served from a different image/code base?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions