Skip to main content
Version: SDK-5.9.6

LeaveChannel

public void LeaveChannel(ChannelType type);

Parameter

ValueTypeDescription
typeChannelType(enum)Channel type to leave. ChannelType.Public(normal) or ChannelType.Guild(guild)

Description

An attempt is made to leave the currently connected channel.

Example

Backend.Chat.LeaveChannel(ChannelType.Guild);