copyWith method

GetPaymentReceipt copyWith({
  1. int? chatId,
  2. int? messageId,
})

Implementation

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