1118
1
I want to update data information or coverurl for an already created channel.
ex.
channel: already created channel
channel.updateChannel(coverUrl: “!@#!%”, data: “!!%!@@!”, (groupChannel, error) => {
//error handle
//…
});
How to update channel information
ps. Do you have a pin function?
Tyler
2
Hi @1118,
You can update the coverurl for an already existing channel with the updateChannel()
function.
You can read the documentation here: Overview | Chat JavaScript SDK | Sendbird Docs
Additionally, you could also use the Platform API to update the channel: Overview | Chat Platform API | Sendbird Docs
As for your question about the pin function, can you expand where you’d expect to see this?
Thanks,
Tyler
1 Like
1118
3
thank you, I have one more question
what happened in updateChannel function Is it not detectable in onChannelChanged?
1118
4
Sorry… It was my mistake solved!!