SendNotificationTarget

@objcMembers
@objc(GetSocialSendNotificationTarget)
public final class SendNotificationTarget : NSObject

Describe notification target.

  • Create target with user ids.

    Declaration

    Swift

    @objc(usersWithIds:)
    public static func users(_ ids: UserIdList) -> SendNotificationTarget

    Parameters

    ids

    User ids.

    Return Value

    New SendNotificationTarget instance.

  • Add placeholder to define receivers.

    Declaration

    Swift

    @objc(addReceiverPlaceholder:)
    public func addReceiver(_ placeholder: String) -> SendNotificationTarget

    Parameters

    placeholder

    Receiver placeholder, as defined NotificationReceiversPlaceholders.

    Return Value

    New SendNotificationTarget instance.

  • Description.

    Declaration

    Swift

    public override var description: String { get }