fix a typo in getChatHistory for Receipt.