From 2545415cfc5141519a9a2a14d212a8f7e14ee508 Mon Sep 17 00:00:00 2001 From: Alexander Baran Date: Sat, 21 Dec 2024 05:53:03 +0700 Subject: [PATCH] Fix missing UserID assignment on GetChatMembers --- telegram/channels.go | 1 + 1 file changed, 1 insertion(+) diff --git a/telegram/channels.go b/telegram/channels.go index 2269e19e..12d6ea95 100755 --- a/telegram/channels.go +++ b/telegram/channels.go @@ -252,6 +252,7 @@ func (c *Client) GetChatMembers(chatID any, Opts ...*ParticipantOptions) ([]*Par UserID = p.UserID case *ChannelParticipantObj: status = Member + UserID = p.UserID case *ChannelParticipantSelf: status = Member UserID = p.UserID