I succssed sending message to slack webhook from powershell using function mentioned here function
But i need to send file to slack webhook bot which i created recently.