<button onclick="javascript:{window.open('https://api.whatsapp.com/send?phone=55myphonehere&text='+encodeURIComponent('My text here'),'_blank')}" ></button>