We are going to migrate from Skype to Mattermost and wish to copy messages for group chats, we managed to parse correctly data from *.db files where Skype stores all the messages and wish to insert that data to PostgreSQL database which will be used by Mattermost.
Main question is how algorithm used to generate Message ID works in Mattermost so we can generate these IDs correctly?