Added View view parameter in sendMessage