copyWith method

  1. @override
UpdateNewCallbackQuery copyWith({
  1. int? id,
  2. int? senderUserId,
  3. int? chatId,
  4. int? messageId,
  5. int? chatInstance,
  6. CallbackQueryPayload? payload,
  7. dynamic extra,
  8. int? clientId,
})
override

Implementation

@override
UpdateNewCallbackQuery copyWith({
  int? id,
  int? senderUserId,
  int? chatId,
  int? messageId,
  int? chatInstance,
  CallbackQueryPayload? payload,
  dynamic extra,
  int? clientId,
}) =>
    UpdateNewCallbackQuery(
      id: id ?? this.id,
      senderUserId: senderUserId ?? this.senderUserId,
      chatId: chatId ?? this.chatId,
      messageId: messageId ?? this.messageId,
      chatInstance: chatInstance ?? this.chatInstance,
      payload: payload ?? this.payload,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );