scrollToSpecificMessage method

void scrollToSpecificMessage({
  1. String? userID,
  2. String? groupID,
  3. String? topicID,
  4. String? msgID,
})

Scrolls the message list to a specific message in the specified conversation. The userID and groupID parameters identify the target conversation. The msgID parameter identifies the target message.

Implementation

void scrollToSpecificMessage({String? userID, String? groupID, String? topicID, String? msgID}) {
  _triggerEvent(
    event: EventName.scrollToSpecificMessage,
    value: msgID,
    user: userID,
    group: groupID,
    topic: topicID,
  );
}