Skip to content

Commit

Permalink
context: change method order
Browse files Browse the repository at this point in the history
  • Loading branch information
Nash-Well committed May 24, 2024
1 parent c127e0a commit 8a3dff7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ type Context interface {
// Bot returns the bot instance.
Bot() *Bot

// Boost returns the boost instance.
Boost() *BoostUpdated

// BoostRemoved returns the boost removed from a chat instance.
BoostRemoved() *BoostRemoved

// Update returns the original update.
Update() Update

Expand Down Expand Up @@ -164,6 +158,12 @@ type Context interface {
// RespondAlert sends an alert response for the current callback query.
RespondAlert(text string) error

// Boost returns the boost instance.
Boost() *BoostUpdated

// BoostRemoved returns the boost removed from a chat instance.
BoostRemoved() *BoostRemoved

// Get retrieves data from the context.
Get(key string) interface{}

Expand Down

0 comments on commit 8a3dff7

Please sign in to comment.