onAppMessage

open fun onAppMessage(message: String, from: ParticipantId)

Event emitted when a custom app message is received from another participant.

For app messages sent from the Daily REST API, see onAppMessageFromRestApi.