I want to export direct messages (im
and mpim
) from a new -but already in use- workspace I administrate.
Legacy tokens are completely deprecated now from Slack so I've created and installed an app into my workspace and granted it the permissions I need. Using this version of the slack-export script with my bot token I'm able to export public channels, private channels and messages in which the bot is included as a user.
Now let's say users A, B and C have been into a conversation (mpim
), it will get an id
and the name mpdm-userA--userB--userC-1
, and I won't be able to export it since its out of the bot user scope. I they start a new chat including the bot user, the script will export the chat from now on, but it will obviously have new id
and name
.
So is there a way to get IM and multiparty IM using the new bot token policy in the Salck API?