copyWith method
MessageInteractionInfo
copyWith({
- int? viewCount,
- int? forwardCount,
- MessageReplyInfo? replyInfo,
- List<
MessageReaction> ? reactions,
Implementation
MessageInteractionInfo copyWith({
int? viewCount,
int? forwardCount,
MessageReplyInfo? replyInfo,
List<MessageReaction>? reactions,
}) =>
MessageInteractionInfo(
viewCount: viewCount ?? this.viewCount,
forwardCount: forwardCount ?? this.forwardCount,
replyInfo: replyInfo ?? this.replyInfo,
reactions: reactions ?? this.reactions,
);