JMSGFriendNotificationEvent Class Reference

Inherits from JMSGNotificationEvent : NSObject
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