From 8a3dff7ad8f5459fcbe06c89cb292d445c39ee80 Mon Sep 17 00:00:00 2001 From: nash Date: Fri, 24 May 2024 09:14:32 +0300 Subject: [PATCH] context: change method order --- context.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/context.go b/context.go index 9eb34e4f..c46bf15a 100644 --- a/context.go +++ b/context.go @@ -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 @@ -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{}