Rename the append_text() parameter channel_type to channel_id
Add Doxygen-style comments throughout the project