Skip to content

What is direct-messages-group.js in your X archive?

direct-messages-group.js holds your group direct message conversations. Alongside each message's text, sender and date, it records when people joined or left the group and when the group was renamed.

How to open it

It is a text file in the archive’s data folder. Open it in any text editor; delete the first line’s window.YTD... = prefix and the rest is plain JSON any JSON tool can read. Our free viewer does not read this file yet; it covers likes, bookmarks and your own posts.

Fields in direct-messages-group.js

FieldWhat it means
conversationIdID of the group conversation.
idID of the message.
senderIdAccount ID of the sender.
textText of the message.
createdAtWhen the message was sent.
mediaUrlsLinks to attached media.
reactionKeyType of reaction on a message.
joinConversationWhen you joined the group (may be missing).
participantsJoinWhen another participant joined (may be missing).
participantsLeaveWhen a participant left (may be missing).
conversationNameUpdateChanges to the group's name.

What it is useful for

What to watch out for

Related files

Field names come from the README.txt X includes in every archive. X changes the archive from time to time, so check the README in your own download if something differs. See every file in the archive.