Using the Madelineproto PHP library how can one fetch the list of all participants.
Here is a code snippet that fetches the list of recent participants.
$participantsInfo = $telegramClient->channels->getParticipants([
'channel' => 'channel#1246538196',
'filter' => ['_' => 'channelParticipantsContacts'],
'offset' => 0,
'limit' => 100
]);
The list of supported filters is here. However, I cannot see a filter that would allow fetching all participant's info.
Of course, an alternate tedious way would be to run the code snippet periodically and curate the list of participants.