Yep. Here is a small example which I extracted from a less lengthy chat (this is the entirety of the exported JSON):
{
"name": "Douglas",
"type": "personal_chat",
"id": 4908364846,
"messages": [
{
"id": 1615952,
"type": "message",
"date": "2019-05-21T17:10:55",
"from": "Grace",
"from_id": 4325636679,
"forwarded_from": "The Dodo",
"file": "(File not included. Change data exporting settings to download.)",
"thumbnail": "(File not included. Change data exporting settings to download.)",
"media_type": "video_file",
"mime_type": "video/mp4",
"duration_seconds": 1181,
"width": 1280,
"height": 720,
"text": "Cute cat goes crazy over catnip 👊"
},
{
"id": 1615953,
"type": "message",
"date": "2019-05-21T17:11:40",
"from": "Grace",
"from_id": 4325636679,
"text": [
{
"type": "link",
"text": "https://youtube.com/"
}
]
},
{
"id": 2259979,
"type": "message",
"date": "2020-08-18T02:22:05",
"from": "Douglas Quentin",
"from_id": 4908364846,
"photo": "(File not included. Change data exporting settings to download.)",
"width": 591,
"height": 1280,
"text": ""
},
{
"id": 2259981,
"type": "message",
"date": "2020-08-18T02:32:33",
"from": "Douglas Quentin",
"from_id": 4908364846,
"photo": "(File not included. Change data exporting settings to download.)",
"width": 941,
"height": 1280,
"text": ""
},
{
"id": 2259982,
"type": "message",
"date": "2020-08-18T02:32:37",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "These are the cars I am looking at."
},
{
"id": 2259984,
"type": "message",
"date": "2020-08-18T02:32:56",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "I am sorry"
},
{
"id": 2259985,
"type": "message",
"date": "2020-08-18T02:33:03",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "Maybe SUVs are not for me after all."
},
{
"id": 2259986,
"type": "message",
"date": "2020-08-18T02:33:04",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "But"
},
{
"id": 2259987,
"type": "message",
"date": "2020-08-18T02:33:20",
"from": "Grace",
"from_id": 4325636679,
"text": "Auto or manual?!"
},
{
"id": 2259988,
"type": "message",
"date": "2020-08-18T02:33:22",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "Am I too lazy"
},
{
"id": 2259989,
"type": "message",
"date": "2020-08-18T02:33:24",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "Hello"
},
{
"id": 2259990,
"type": "message",
"date": "2020-08-18T02:33:29",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "Auto is more expensive"
},
{
"id": 2259991,
"type": "message",
"date": "2020-08-18T02:33:39",
"from": "Grace",
"from_id": 4325636679,
"text": "Yeah"
},
{
"id": 2259992,
"type": "message",
"date": "2020-08-18T02:33:40",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "That car has a nice dashboard though"
},
{
"id": 2259993,
"type": "message",
"date": "2020-08-18T02:33:43",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "Pulled the clutch"
},
{
"id": 2259994,
"type": "message",
"date": "2020-08-18T02:33:55",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "\" I am a petrolhead\""
},
{
"id": 2259995,
"type": "message",
"date": "2020-08-18T02:34:10",
"from": "Douglas Quentin",
"from_id": 4908364846,
"reply_to_message_id": 2259987,
"text": "No electric"
},
{
"id": 2259996,
"type": "message",
"date": "2020-08-18T02:34:12",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "Very different engine sound"
},
{
"id": 2259997,
"type": "message",
"date": "2020-08-18T02:34:29",
"from": "Grace",
"from_id": 4325636679,
"text": "Looks the same"
},
{
"id": 2259998,
"type": "message",
"date": "2020-08-18T02:34:32",
"from": "Grace",
"from_id": 4325636679,
"text": "Ambiguous"
},
{
"id": 2259999,
"type": "message",
"date": "2020-08-18T02:34:38",
"from": "Douglas Quentin",
"from_id": 4908364846,
"photo": "(File not included. Change data exporting settings to download.)",
"width": 909,
"height": 1280,
"text": ""
},
{
"id": 2260000,
"type": "message",
"date": "2020-08-18T02:34:41",
"from": "Grace",
"from_id": 4325636679,
"text": "Tell the salesman this."
},
{
"id": 2260001,
"type": "message",
"date": "2020-08-18T02:34:42",
"from": "Grace",
"from_id": 4325636679,
"text": "Haha"
},
{
"id": 2260002,
"type": "message",
"date": "2020-08-18T02:34:48",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "Is this silver or off-white?"
},
{
"id": 2260003,
"type": "message",
"date": "2020-08-18T02:35:15",
"from": "Douglas Quentin",
"from_id": 4908364846,
"text": "I thought you were referencing this list of white unicorns"
}
]
}
After redacting it was saved as a .txt file. Not sure if .json and .txt has any differences but I managed to import the .txt with fromJSON like so:
tele.json <- rjson::fromJSON(file = "jsonderulo.txt")