Skip to content

Commit

Permalink
Update updates.go
Browse files Browse the repository at this point in the history
add todo tasks.
  • Loading branch information
AmarnathCJD authored Aug 7, 2024
1 parent b86e425 commit c027378
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions telegram/updates.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ import (
"github.com/pkg/errors"
)

// TODO: confine sort to when new handler priorities are set.
// way to set prio on adding event handler (this solves todo-1)
// calling endGroup from inside the event handler.
// make it more efficient

type Handle interface {
IsMatch(text string) bool
SetPriority(priority int) *Handle
Expand Down

0 comments on commit c027378

Please sign in to comment.