NIMRevokeMessageNotification Class Reference

Inherits from NSObject
Declared in NIMRevokeMessageNotification.h

Overview

Notification for recalling messages

  notificationType

Type of recalled messages

@property (nonatomic, assign, readonly) NIMRevokeMessageNotificationType notificationType

Discussion

Type of recalled messages

Declared In

NIMRevokeMessageNotification.h

  fromUserId

Sender ID of a recalled message

@property (nonatomic, copy, readonly) NSString *fromUserId

Discussion

Sender ID of a recalled message

Declared In

NIMRevokeMessageNotification.h

  messageFromUserId

Sender of a recalled message.

@property (nonatomic, copy, readonly) NSString *messageFromUserId

Discussion

Sender of a recalled message.

Declared In

NIMRevokeMessageNotification.h

  session

Session to which a recalled message belongs

@property (nonatomic, copy, readonly) NIMSession *session

Discussion

Session to which a recalled message belongs

Declared In

NIMRevokeMessageNotification.h

  timestamp

Time a message was recalled

@property (nonatomic, assign, readonly) NSTimeInterval timestamp

Discussion

Time a message was recalled

The time here refers to the second the recalled message reached the server, not the time the recall operation was executed on the server

Declared In

NIMRevokeMessageNotification.h

  message

Recalled message

@property (nullable, nonatomic, strong, readonly) NIMMessage *message

Discussion

Recalled message

If the recalled message is not received by the current device, this field is nil.

Declared In

NIMRevokeMessageNotification.h

  roaming

Check whether the recalled message is a roaming message

@property (nonatomic, assign, readonly) BOOL roaming

Discussion

Check whether the recalled message is a roaming message

Declared In

NIMRevokeMessageNotification.h

  offline

Check if the recalled message is an offline message

@property (nonatomic, assign, readonly) BOOL offline

Discussion

Check if the recalled message is an offline message

Declared In

NIMRevokeMessageNotification.h

  postscript

Recalled additional message

@property (nullable, nonatomic, copy, readonly) NSString *postscript

Discussion

Recalled additional message

Declared In

NIMRevokeMessageNotification.h

  attach

Extension field for a recalled message specified by the recaller

@property (nullable, nonatomic, copy, readonly) NSString *attach

Discussion

Extension field for a recalled message specified by the recaller

Declared In

NIMRevokeMessageNotification.h

  callbackExt

Extension field specified by the server

@property (nonatomic, nonatomic, copy, readonly) NSString *callbackExt

Discussion

Extension field specified by the server

Declared In

NIMRevokeMessageNotification.h