onMessagesDeleted abstract method

void onMessagesDeleted(
  1. MessageContext context,
  2. GroupChannel channel,
  3. List<BaseMessage> messages
)

Called when one or more BaseMessage is deleted from this collection.

context is a context of where this deletion happened. channel is a channel this collection holds. messages are list of BaseMessage that have been deleted. All messages will have the same SendingStatus.

Implementation

void onMessagesDeleted(
  MessageContext context,
  GroupChannel channel,
  List<BaseMessage> messages,
);