How to update channel information

I want to update data information or coverurl for an already created channel.

channel: already created channel

channel.updateChannel(coverUrl: “!@#!%”, data: “!!%!@@!”, (groupChannel, error) => {
//error handle

How to update channel information

ps. Do you have a pin function?

Hi @1118,

You can update the coverurl for an already existing channel with the updateChannel() function.

You can read the documentation here:

Additionally, you could also use the Platform API to update the channel:

As for your question about the pin function, can you expand where you’d expect to see this?


1 Like

thank you, I have one more question
what happened in updateChannel function Is it not detectable in onChannelChanged?

Sorry… It was my mistake solved!!