Closed f4th4n closed 4 months ago
See the function signature below:
joinChat(target: string, type: number, persistence: boolean, hidden: boolean): Promise<Channel>;
Currently socket.joinChat() example is not used correctly. The first argument should be target, then type. Also, the function will return Promise of Channel object (Promise<Channel>) therefore I changed from channel.channel.id to channel.id.
socket.joinChat()
Promise<Channel>
channel.channel.id
channel.id
Tested on Chrome Version 122.0.6261.69
All committers have signed the CLA.
@lugehorsam you're welcome. I've signed the licence agreement btw.
See the function signature below:
Currently
socket.joinChat()
example is not used correctly. The first argument should be target, then type. Also, the function will return Promise of Channel object (Promise<Channel>
) therefore I changed fromchannel.channel.id
tochannel.id
.Tested on Chrome Version 122.0.6261.69