copyWith method

GetChatBoosts copyWith({
  1. int? chatId,
  2. bool? onlyGiftCodes,
  3. String? offset,
  4. int? limit,
})

Implementation

GetChatBoosts copyWith({
  int? chatId,
  bool? onlyGiftCodes,
  String? offset,
  int? limit,
}) => GetChatBoosts(
  chatId: chatId ?? this.chatId,
  onlyGiftCodes: onlyGiftCodes ?? this.onlyGiftCodes,
  offset: offset ?? this.offset,
  limit: limit ?? this.limit,
);