diff --git a/schemas/Composer.json b/schemas/Composer.json index 6639f4f..9ecdbb4 100644 --- a/schemas/Composer.json +++ b/schemas/Composer.json @@ -28,7 +28,8 @@ {"const": "Text", "description": "A text message."}, {"const": "LocationPin", "description": "A pin drop location message."}, {"const": "LocationUser", "description": "A user current location message."}, - {"const": "Poll", "description": "A poll message."} + {"const": "Poll", "description": "A poll message."}, + {"const": "VoiceMessage", "description": "A voice message."} ] } }, diff --git a/types/kotlin2/Composer.kt b/types/kotlin2/Composer.kt index 9b299e7..a590ac1 100644 --- a/types/kotlin2/Composer.kt +++ b/types/kotlin2/Composer.kt @@ -69,6 +69,11 @@ data class Composer( * A text message. */ Text, + + /** + * A voice message. + */ + VoiceMessage, } override fun getName() = "Composer" diff --git a/types/swift/Composer.swift b/types/swift/Composer.swift index 2db40cc..fe8aa70 100644 --- a/types/swift/Composer.swift +++ b/types/swift/Composer.swift @@ -52,6 +52,8 @@ extension AnalyticsEvent { case Poll /// A text message. case Text + /// A voice message. + case VoiceMessage } public var properties: [String: Any] {