customer-android-kotlin

//core/com.kustomer.core/KustomerCore/getAiAgentInitialMessage

getAiAgentInitialMessage

[androidJvm]
suspend fun getAiAgentInitialMessage(): KusResult<String?>

Returns the greeting (proactive) message from your AI Agent team if available. This message should be displayed before any user interaction in the conversation.

This message is only available if you have enabled the greeting message in your AI Agent team settings.

Note: This is a suspend function and should be called from Kotlin Coroutines

Return

KusResult of type String? - the proactive message text or null if none available