2025-10-09 16:48:46 +08:00

33 lines
1.1 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// V2NIMNotificationPushConfig.h
// NIMSDK
//
// Created by 齐洪茹 on 2023/8/30.
// Copyright © 2023 Netease. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/// 通知推送相关配置
@interface V2NIMNotificationPushConfig : NSObject
/// 是否需要推送通知。true需要, false不需要
@property(nonatomic,assign,readwrite) BOOL pushEnabled;
/// 是否需要推送通知发送者昵称。true需要, false不需要
@property(nonatomic,assign,readwrite) BOOL pushNickEnabled;
/// 推送文案
@property(nonatomic,strong,readwrite) NSString *pushContent;
/// 推送数据
@property(nonatomic,strong,readwrite) NSString *pushPayload;
/// 忽略用户通知提醒相关设置,只通知类型有效
@property(nonatomic,assign,readwrite) BOOL forcePush;
/// 强制推送文案,只通知类型有效
@property(nonatomic,strong,readwrite) NSString *forcePushContent;
/// 强制推送目标账号列表,只通知类型有效
@property(nonatomic,strong,readwrite) NSArray *forcePushAccountIds;
@end
NS_ASSUME_NONNULL_END