setConfig

public final Unit setConfig(LeaveGroupConfig config)

Leave group configuration (controls whether to clear mute/allowlist/follow states).