onMessagesAdded abstract method

void onMessagesAdded(
  1. NotificationContext context,
  2. FeedChannel channel,
  3. List<NotificationMessage> messages
)

Called when one or more NotificationMessage is added to this collection.

context is a context of where this addition happened. channel is a channel this collection holds. messages are list of NotificationMessage that have been added. All messages will have the same SendingStatus. @since 4.1.0

Implementation

void onMessagesAdded(
  NotificationContext context,
  FeedChannel channel,
  List<NotificationMessage> messages,
);