Skip to content

[FEATURE] Telegram types/objects entities as a standalone package #4289

@begoon

Description

@begoon

What kind of feature are you missing? Where do you notice a shortcoming of PTB?

Having Telegram types/objects as a package without the communication layer would be helpful.

For example, the current version uses async communications. It is impossible to use the library in the sync code, for instance, flask. It is possible to use the previous version, which is sync, but it has a bit of outdated Telegram protocol.

Types, object serialization, and deserialization may exist separately from the Telegram communication routines.

Describe the solution you'd like

Ship types and data entities in a separate package.

Describe alternatives you've considered

No response

Additional context

No response

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