copyWith method

StarTransactionTypeChannelPaidMediaSale copyWith({
  1. int? userId,
  2. int? messageId,
  3. List<PaidMedia>? media,
})

Implementation

StarTransactionTypeChannelPaidMediaSale copyWith({
  int? userId,
  int? messageId,
  List<PaidMedia>? media,
}) => StarTransactionTypeChannelPaidMediaSale(
  userId: userId ?? this.userId,
  messageId: messageId ?? this.messageId,
  media: media ?? this.media,
);