remove channel code error

5
Average: 5 (2 votes)
Reputation: 112
Asked 2 years ago.
472 View(s)
remove channel code error

plz chek whats wrong with this code

//Functions

static void on_group_removed(pubnub::context &pn, pubnub_res res) {

  if (PNR_OK == res) {

    std:cout <<  pn.get_channel() << std:endl;

  } else {

    std::cout << "Failed with code " << res << std::endl;

  }

}

 

static void remove_group(pubnub:context &ipn) {

  ipn.remove_channel_group(channel_group).then(on_group_removed);

}

Delivery Time: 2 hours.
Question Category: CMS.
約翰 李
Reputation: 7
Free
Deliver in: 1 hours

Tutor Answer

You must be login to view answer.