Skip to content

Commit

Permalink
Fix missing UserID assignment on GetChatMembers
Browse files Browse the repository at this point in the history
  • Loading branch information
bunin authored Dec 20, 2024
1 parent 0164645 commit 2545415
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions telegram/channels.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2545415

Please sign in to comment.