Skip to content

Commit

Permalink
docs: Improve push documentation (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 authored Jun 24, 2023
1 parent 66627b5 commit 7c9b781
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/ParseSwift/Types/ParsePush.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ import Foundation
exposed to the public.
*/
public struct ParsePush<V: ParsePushPayloadable>: ParseTypeable {

/**
The query that determines what installations should receive the notification.
- warning: Cannot send a notification with this valuel and `channels` both set.
- warning: Cannot send a notification with this value and `channels` both set.
*/
public var `where`: QueryWhere?
/**
An Array of channels to push to.
- warning: Cannot send a notification with this valuel and `where` both set.
- warning: Cannot send a notification with this value and `where` both set.
*/
public var channels: Set<String>?
/// The payload to send.
Expand Down Expand Up @@ -249,4 +250,5 @@ public extension ParsePush {
let query = ParsePushStatus<V>.query("objectId" == statusId)
query.first(options: options, completion: completion)
}

}

0 comments on commit 7c9b781

Please sign in to comment.