use new channel api

Signed-off-by: swpd <swpdtz@gmail.com>