Пример #1
0
        public async Task OnGet()
        {
            var chats = new List <TelegramChat>();

            await foreach (var chat in _telegramService.GetGroups())
            {
                chats.Add(chat);
            }

            _chats = chats;
        }