From 4a76b9c212546b075d1a6a275adb8a8efbcd1621 Mon Sep 17 00:00:00 2001 From: Astra Date: Tue, 3 Feb 2026 10:22:42 +0000 Subject: [PATCH] Use Request not Send --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index ed5530f..bb03174 100644 --- a/main.go +++ b/main.go @@ -184,7 +184,7 @@ func (bot *Bot) handleCallbackQuery(query *api.CallbackQuery) { }, UserID: user.ChatJoinRequest.From.ID, } - _, e := bot.API.Send(r) + _, e := bot.API.Request(r) if e != nil { log.Println(e.Error()) edit := api.NewEditMessageText(bot.Config.AdminChatId, user.JoinRequestMessageID, @@ -225,7 +225,7 @@ func (bot *Bot) handleCallbackQuery(query *api.CallbackQuery) { }, UserID: user.ChatJoinRequest.From.ID, } - _, e := bot.API.Send(r) + _, e := bot.API.Request(r) if e != nil { log.Println(e.Error()) edit := api.NewEditMessageText(bot.Config.AdminChatId, user.JoinRequestMessageID,