Skip to content

Commit

Permalink
Add customMessageType parameter in sendFile
Browse files Browse the repository at this point in the history
  • Loading branch information
jguz-pubnub committed Dec 4, 2024
1 parent 52f7086 commit 5d93ba4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/PubNub/KMP/KMPPubNub+Files.swift
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ public extension KMPPubNub {
meta: Any?,
ttl: NSNumber?,
shouldStore: NSNumber?,
customMessageType: String?,
onSuccess: @escaping ((KMPFile, Timetoken) -> Void),
onFailure: @escaping ((Error) -> Void)
) {
Expand All @@ -200,6 +201,7 @@ public extension KMPPubNub {
remoteFilename: fileName,
publishRequest: PubNub.PublishFileRequest(
additionalMessage: additionalMessage,
customMessageType: customMessageType,
store: shouldStore?.boolValue,
ttl: ttl?.intValue,
meta: meta
Expand Down

0 comments on commit 5d93ba4

Please sign in to comment.