else if (input1 == "создать список")
{
if (message.From.IsBot) return;
if (message.Chat.Type != ChatType.Group && message.Chat.Type != ChatType.Supergroup) return;
var chatMembers = await client.GetChatMemberAsync(message.Chat.Id);
var membersList = "";
foreach (var member in chatMembers)
{
membersList += member.User.FirstName + " " + member.User.LastName + "\n";
}
}