The function you need is "subscribe"; you need to subscribe to the input value and enable the button if a value is entered, else disable it:
self.message.subscribe(function (value) {
if(value){
self.canSend(true);
}
else{
self.canSend(false);
}
});