1

I have create some private channels.During chat,I left the channel after chat finished.But now I am not able to get and delete those private channels.

getSubscribedChannels not returning the list of those private channels.

Also,If I do login in Twilio account,DELETE button also not appearing when I select any channel either private or public.

RIYAJ KHAN
  • 15,032
  • 5
  • 31
  • 53
  • What is the code you are using to try to delete the channels and how is it not working. Which SDK is this using (JS, iOS, Android) or is it the REST API? – philnash Feb 08 '18 at 04:42
  • @philnash I am using JS(Node/jQuery) to build chat. – RIYAJ KHAN Feb 08 '18 at 05:07
  • Ok, that's a start, but what's the context around this particular issue? Perhaps you could edit your question and share some of the relevant code and let me know what errors you are facing. – philnash Feb 08 '18 at 05:14
  • Same issue, @RIYAJKHAN did you get solution? – Anant Shah Feb 22 '18 at 10:03

1 Answers1

0

I had the same issue. I solved using the REST API Delete Channel (https://www.twilio.com/docs/chat/rest/channels?code-sample=code-delete-a-channel&code-language=js&code-sdk-version=3.x).

With the REST API you can authenticate with an auth token provided by Twilio and delete the channel.

enricop89
  • 352
  • 2
  • 13