How to get messages from messagerow Skype/whatsapp/telegram to a text log file?

Need to record incoming / outgoing messages in the log like this can be implemented?
April 7th 20 at 15:44

Find more questions by tags APISkypeTelegramViberWhatsApp