Skip to content

Separate model for each function call #75

Description

@roskee

-Since now, generic models are being used as request bodies for various requests. But this is creating ambiguity for users that do not have the full knowledge of the telegram bot API documentation. For example, entity.MessageEnvelop is used for many functions - so it has many fields that are used at some function but not in another - how can someone new know these differences? So, in my opinion, it is better to have separate models for each function (even if it means there will be some code duplication).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions