asTextEventOrNull
Casts this ChatInputStream as a TextEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.TextInputEvent value. Returns null if the ChatInputStream is not a TextEvent.
Casts this ChatInputStream as a TextEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.TextInputEvent value. Returns null if the ChatInputStream is not a TextEvent.