onMessagePinChanged method

void onMessagePinChanged(
  1. String messageId,
  2. String conversationId,
  3. MessagePinOperation pinOperation,
  4. MessagePinInfo pinInfo,
)

Implementation

void onMessagePinChanged(
  String messageId,
  String conversationId,
  MessagePinOperation pinOperation,
  MessagePinInfo pinInfo,
) {
  for (var observer in List<ChatUIKitObserverBase>.of(observers)) {
    if (observer is ChatObserver) {
      observer.onMessagePinChanged(
          messageId, conversationId, pinOperation, pinInfo);
    }
  }
}