def getChat(self):
        try:
            return self.chat
        except __HOLE__:
            self.chat = []
            for messageEvent in self.getReplayMessageEvents():
                if (messageEvent['_event'] != 'NNet.Game.SChatMessage'):
                    continue
                userId = messageEvent['_userid']['m_userId']
                chatData = {
                    't': self.getMatchUTCTimestamp() + messageEvent['_gameloop'] / 16,
                    'user': userId,
                    'msg': messageEvent['m_string'],
                }
                self.chat.append(chatData)
            return self.chat
dataset/ETHPy150Open karlgluck/heroes-of-the-storm-replay-parser/api/StormReplayParser.py/StormReplayParser.getChat