copyWith method

MessageGiveawayPrizeStars copyWith({
  1. int? starCount,
  2. String? transactionId,
  3. int? boostedChatId,
  4. int? giveawayMessageId,
  5. bool? isUnclaimed,
  6. Sticker? sticker,
})

Implementation

MessageGiveawayPrizeStars copyWith({
  int? starCount,
  String? transactionId,
  int? boostedChatId,
  int? giveawayMessageId,
  bool? isUnclaimed,
  Sticker? sticker,
}) => MessageGiveawayPrizeStars(
  starCount: starCount ?? this.starCount,
  transactionId: transactionId ?? this.transactionId,
  boostedChatId: boostedChatId ?? this.boostedChatId,
  giveawayMessageId: giveawayMessageId ?? this.giveawayMessageId,
  isUnclaimed: isUnclaimed ?? this.isUnclaimed,
  sticker: sticker ?? this.sticker,
);