From 0f28e3d11b7df83a5216b9266a5da48498672fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 6 Dec 2025 22:20:02 +0100 Subject: [PATCH] v0.0.618 remove deprecated param 'user_id' from scn.send() --- goextVersion.go | 4 ++-- scn/scn.go | 4 +--- scn/send.go | 1 - 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/goextVersion.go b/goextVersion.go index 710b2a4..c00436d 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.617" +const GoextVersion = "0.0.618" -const GoextVersionTimestamp = "2025-12-06T11:54:36+0100" +const GoextVersionTimestamp = "2025-12-06T22:20:02+0100" diff --git a/scn/scn.go b/scn/scn.go index 858054a..b4b56aa 100644 --- a/scn/scn.go +++ b/scn/scn.go @@ -1,13 +1,11 @@ package scn type Connection struct { - uid string token string } -func New(userid string, token string) *Connection { +func New(token string) *Connection { return &Connection{ - uid: userid, token: token, } } diff --git a/scn/send.go b/scn/send.go index aad4844..1effdfc 100644 --- a/scn/send.go +++ b/scn/send.go @@ -88,7 +88,6 @@ func (c *MessageBuilder) Send(ctx context.Context) (MessageResponse, error) { body := langext.H{} - body["user_id"] = c.conn.uid body["key"] = c.conn.token if c.channel != nil {