From 5033f2dbd40bd693661609568d85bda25ce5ef0d Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sun, 22 Jan 2023 12:51:24 +0100 Subject: [PATCH] webhook for group --- internal/telegram/ticket.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/telegram/ticket.go b/internal/telegram/ticket.go index 31bdf5b4..6da9cdf9 100644 --- a/internal/telegram/ticket.go +++ b/internal/telegram/ticket.go @@ -158,9 +158,10 @@ func (bot *TipBot) stopJoinTicketTimer(event Event) { } invoice, err := me.Wallet.Invoice( lnbits.InvoiceParams{ - Out: false, - Amount: commission, - Memo: fmt.Sprintf("Ticket for group %d", ticket.Message.Chat.ID)}, + Out: false, + Amount: commission, + Memo: "🎟 Ticket commission", + Webhook: internal.Configuration.Lnbits.WebhookServer}, bot.Client) if err != nil { log.Errorf("[stopJoinTicketTimer] %v", err)