[development] how to create channel based template callback