Skip to content

Add support for bot.chat(id) and deprecate bot.send* #65

@pietroalbini

Description

@pietroalbini

The Bot API 2.1 update added support for retrieving information about a specific chat. This allows to do something like this:

bot.chat(12345).name

Because of that, all the send* methods are now useless and can be deprecated, because you can do:

bot.chat(12345).send("Test")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions