Ejemplo n.º 1
0
        public bool IsChatMember(int chatId, string username)
        {
            var isMember = _chatRepo.GetChatMembers(chatId).Any(user => user.Nickname == username);

            return(isMember);
        }