:cold_sweat: add a function to store message datas