From 5d93ba47d8cab2930231c868be9bb0729984aaaa Mon Sep 17 00:00:00 2001 From: jguz-pubnub Date: Wed, 4 Dec 2024 16:46:09 +0100 Subject: [PATCH] Add customMessageType parameter in sendFile --- Sources/PubNub/KMP/KMPPubNub+Files.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/PubNub/KMP/KMPPubNub+Files.swift b/Sources/PubNub/KMP/KMPPubNub+Files.swift index be3f48bd..40f1aa2e 100644 --- a/Sources/PubNub/KMP/KMPPubNub+Files.swift +++ b/Sources/PubNub/KMP/KMPPubNub+Files.swift @@ -178,6 +178,7 @@ public extension KMPPubNub { meta: Any?, ttl: NSNumber?, shouldStore: NSNumber?, + customMessageType: String?, onSuccess: @escaping ((KMPFile, Timetoken) -> Void), onFailure: @escaping ((Error) -> Void) ) { @@ -200,6 +201,7 @@ public extension KMPPubNub { remoteFilename: fileName, publishRequest: PubNub.PublishFileRequest( additionalMessage: additionalMessage, + customMessageType: customMessageType, store: shouldStore?.boolValue, ttl: ttl?.intValue, meta: meta