copyWith method

ChatStatisticsMessageInteractionInfo copyWith({
  1. int? messageId,
  2. int? viewCount,
  3. int? forwardCount,
})

Implementation

ChatStatisticsMessageInteractionInfo copyWith({
  int? messageId,
  int? viewCount,
  int? forwardCount,
}) =>
    ChatStatisticsMessageInteractionInfo(
      messageId: messageId ?? this.messageId,
      viewCount: viewCount ?? this.viewCount,
      forwardCount: forwardCount ?? this.forwardCount,
    );