NIMMessageApnsMemberOption Class Reference

Inherits from NSObject
Declared in NIMMessageApnsMemberOption.h

Overview

APNs member option

  userIds

APNs for specified users

@property (nullable, nonatomic, copy) NSArray<NSString*> *userIds

Discussion

APNs for specified users

A value of nil indicates push notifications are delivered to all users in the chat

Declared In

NIMMessageApnsMemberOption.h

  forcePush

Specify whether to enable force push

@property (nonatomic, assign) BOOL forcePush

Discussion

Specify whether to enable force push

The default value is YES. If the value is set to YES, push notifications will be delivered even if the user in the list mutes the current session.

Declared In

NIMMessageApnsMemberOption.h

  apnsContent

Push notification content that can contain up to 500 characters

@property (nullable, nonatomic, copy) NSString *apnsContent

Discussion

Push notification content that can contain up to 500 characters

push specific push content to a specified user. If the value is set to nil, the push content uses the message.

Declared In

NIMMessageApnsMemberOption.h