JMSGFriendNotificationEvent Class Reference

Inherits from JMSGNotificationEvent : NSObject
Declared in JMSGFriendNotificationEvent.h

  eventID

事件的 id

@property (nonatomic, strong, readonly) NSString *eventID

Declared In

JMSGFriendNotificationEvent.h

– getReason

获取事件发生的理由

- (NSString *JMSG_NULLABLE)getReason

Discussion

该字段由对方发起请求时所填,对方如果未填则将返回默认字符串

Declared In

JMSGFriendNotificationEvent.h

– getFromUsername

事件发送者的username

- (NSString *JMSG_NULLABLE)getFromUsername

Discussion

该字段由对方发起请求时所填,对方如果未填则将返回默认字符串 如果设置了noteName、nickname,返回优先级为noteName、nickname;否则返回username

Declared In

JMSGFriendNotificationEvent.h

– getFromUser

获取事件发送者user

- (JMSGUser *JMSG_NULLABLE)getFromUser

Declared In

JMSGFriendNotificationEvent.h