code: def _on_channel_open(self, channel):
          
          channel.add_on_close_callback(self._on_channel_close)
          channel.add_on_cancel_callback(self._on_cancel)
  
          channel.basic_qos(callback=self._on_qosok, **config.conf["qos"])
docs: Callback used when a channel is opened.
  
          This registers all the channel callbacks.
  
          Args:
              channel (pika.channel.Channel): The channel that successfully opened.