while (offset < (res.FullChat as TLChannelFull).ParticipantsCount)
            {
                var pReq = new TLRequestGetParticipants()
                {
                    Channel = new TLInputChannel() { AccessHash = chat.AccessHash.Value, ChannelId = chat.Id },
                    Filter = new TLChannelParticipantsRecent() { },
                    //Filter = new TLChannelParticipantsSearch() { Q = "a" },
                    Limit = 200,
                    Offset = offset,

                };
                var pRes = await client.SendRequestAsync<TLChannelParticipants>(pReq);
                //result.Users.AddRange(pRes.users.lists.Cast<TLUser>());
                offset += 200;
                await Task.Delay(500);
            }

I can only get 10K users with this method, and I can't break this limit

0

There are 0 answers