How to get id of all channel members in telegram?

Hey Makers :wave:t3:

I’m creating an automation to manage a telegram group, where only members who have a valid subscription can participate.

So I need some module to get the id of all members of the group and then check the database if it has a valid signature.

is it possible to get the id of all members of a channel?

Started googling, found that there is a method for this, which doesn’t quite help in make

however, there is probably URL / endpoint that would work with the telegram custom API call module.