copyWith method

UpdateMessageInteractionInfo copyWith({
  1. int? chatId,
  2. int? messageId,
  3. MessageInteractionInfo? interactionInfo,
})

Implementation

UpdateMessageInteractionInfo copyWith({
  int? chatId,
  int? messageId,
  MessageInteractionInfo? interactionInfo,
}) => UpdateMessageInteractionInfo(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  interactionInfo: interactionInfo ?? this.interactionInfo,
);