Getting participants of a group/channel
Last updated
Was this helpful?
Last updated
Was this helpful?
GramJS provides two friendly methods to get a list of participants from a channel a group.
The interface looks like this. you can read more about filters here
which returns an array with a .total
attribute returning the real number of users in the group.
you can also use an iterator with iterParticipants
iterParticipants
getParticipants