Client client = new Client();
client.LoginBotIfNeeded(token);
InputPeerChat peer = new InputPeerChat(chatId);
client.GetFullChat(peer);
var chatFull = await client.GetFullChat(peer);
foreach (var (id, user) in chatFull.users)
Console.WriteLine(user);