Skip to content

Remove de_json from object that never use them #778

@Eldinnie

Description

@Eldinnie

We have a lot of objects in the library that will only ever be sent, never received. But they still do have a de_json method. I propose to remove all de_json methods from objects that are never sent by tg. Below you'll find a list of the objects involved

  • Bot
  • ForceReply
  • InlineKeyboardButton
  • InlineKeyboardMarkup
  • InlineQueryResult*
  • InlineQueryResultCached*
  • InputMessageContent
  • Input*MessageContent
  • KeyboardButton
  • LabeledPrice
  • ReplyKeyboardMarkup
  • ReplyKeyboardRemove
  • ShippingOption

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