Add documentation for input updater functions
Split sendMessage into type-specific functions