1
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);
            }

我用这个方法只能得到10K用户,而且我不能打破这个限制

4

0 回答 0