Android 채널 연결시 오류 입니다

// 카카오톡 채널 추가하기 URL
val url = TalkApiClient.instance.addChannelUrl("_WCcJd")

        // CustomTabs 로 열기
            KakaoCustomTabsClient.openWithDefault(context, url)  // .open(context, url ) //

오류 내용
166[MainActivity]: ViewPostIme pointer 1
W/System.err: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
at android.app.ContextImpl.startActivity(ContextImpl.java:974)
at android.content.ContextWrapper.startActivity(ContextWrapper.java:406)
at androidx.core.content.ContextCompat.startActivity(ContextCompat.java:251)
W/System.err: at androidx.browser.customtabs.CustomTabsIntent.launchUrl(CustomTabsIntent.java:263)
at com.kakao.sdk.common.util.KakaoCustomTabsClient.open(KakaoCustomTabsClient.kt:61)
at kr.co.welrixrental.MainActivity$WebBrideg.javascriptMain(MainActivity.kt:760)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:326)
at android.os.Looper.loop(Looper.java:181)
W/System.err: at android.os.HandlerThread.run(HandlerThread.java:65)

@cs24
파라미터로 넣은 context가 Activity가 맞나요?