Skip to content

Big Error telebot.ext.sync.webhooks (Py3-13) #2583

@themastervs

Description

@themastervs

Traceback:File ".../telebot/ext/sync/webhooks.py", line 86, in SyncWebhookListenerdef process_update(self, request: Request, update: dict):NameError: name 'Request' is not definedThe Fix:In telebot/ext/sync/webhooks.py, you need to add from .types import Request or remove the type hint. This is critical for users trying to compile/freeze the library with Nuitka or PyInstaller."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions