ilyalatt / Telega

C# Telegram MTProto Client
https://ilyalatt.github.io/Telega/
MIT License
58 stars 15 forks source link

Get Participants from my Channel #35

Closed wasimjee closed 3 years ago

wasimjee commented 3 years ago

Hi,

How can we get Participants from my Channel, as I am the owner of that Channel

ilyalatt commented 3 years ago

Use

var res = await tg.Call(new Functions.Channels.GetFullChannel(channel));
var users = res.Users;
wasimjee commented 3 years ago

This only show the first 200 in list. even changing the offset doesn't show others