Skip to content

Idea: Automatically discover allowed_updates #28

Description

@TiiFuchs

We are able to identify the used update types the bot handles and could filter the update types the bot receives in the beginning by passing it as allowed_updates
to setWebhook or getUpdates.

This would reduce network traffic and resources, since we don't need to load the framework and parse the whole incoming json data before going over all handlers and find that there are no responsible handlers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions