Returns list of strings which represents persons being chated with

def get_persons(self):
        """
        Returns list of strings which represents persons being chated with 
        """
        cs = self.data["to"]["data"]
        res = [] 
        for c in cs:
            res.append(c["name"])
        return res