Skip to content

[FEATURE] New TO.de_json_subclasses method for parent classes #4346

@harshil21

Description

@harshil21

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

We can save some code duplication by extracting the de_json logic of classes like PaidMedia or ChatMember. Ideally this should go into TelegramObject so we can easily call it.

Describe the solution you'd like

#4334 (comment)

Describe alternatives you've considered

keep doing what we do right now

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy