Skip to content

Commit

Permalink
Merge pull request #172 from bunin/patch-1
Browse files Browse the repository at this point in the history
Fix missing UserID assignment on GetChatMembers
  • Loading branch information
AmarnathCJD authored Dec 21, 2024
2 parents 0164645 + 2545415 commit af57a1e
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 af57a1e

Please sign in to comment.