src/channel: API update