Skip to content

feat: progress bar mode #1

@KnorpelSenf

Description

@KnorpelSenf

Currently, the plugin appends newly yielded text snippets to the existing draft.

We could add a new mode to the plugin which lets developers replace the draft entirely. It would entail a new method which does not contain any logic regarding draft identifiers or message splitting. However, it would still implement the necessary logic to consume a stream as fast as possible and update the draft as fast as possible.

On top of this, we could implement a convenience wrapper that directly implements progress bars.

https://t.me/grammyjs/342041

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions