mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 07:34:41 +01:00
Per il dottore
This commit is contained in:
parent
3879137219
commit
c26cd36b74
@ -455,7 +455,7 @@ trait PeerHandler
|
||||
$offset = -$limit;
|
||||
$filters = ['channelParticipantsBanned', 'channelParticipantsAdmins', 'channelParticipantsKicked', 'channelParticipantsBots', 'channelParticipantsRecent'];
|
||||
$gres = $this->method_call('channels.getParticipants', ['channel' => $full['InputChannel'], 'filter' => ['_' => 'channelParticipantsRecent'], 'offset' => $offset += $limit, 'limit' => $limit], ['datacenter' => $this->datacenter->curdc]);
|
||||
$count = $gres['count'];
|
||||
$count = $res['participants_count']+$res['kicked_count']+$res['admin_count'];
|
||||
while (count($filters)) {
|
||||
$filter = array_pop($filters);
|
||||
while ($offset <= $count) {
|
||||
|
Loading…
Reference in New Issue
Block a user