copyWith method

UpdateNewInlineCallbackQuery copyWith({
  1. int? id,
  2. int? senderUserId,
  3. String? inlineMessageId,
  4. int? chatInstance,
  5. CallbackQueryPayload? payload,
})

Implementation

UpdateNewInlineCallbackQuery copyWith({
  int? id,
  int? senderUserId,
  String? inlineMessageId,
  int? chatInstance,
  CallbackQueryPayload? payload,
}) => UpdateNewInlineCallbackQuery(
  id: id ?? this.id,
  senderUserId: senderUserId ?? this.senderUserId,
  inlineMessageId: inlineMessageId ?? this.inlineMessageId,
  chatInstance: chatInstance ?? this.chatInstance,
  payload: payload ?? this.payload,
);