Update example for new `sendMessage' return value