copyWith method

  1. @override
UpdateNewInlineCallbackQuery copyWith({
  1. int? id,
  2. int? senderUserId,
  3. String? inlineMessageId,
  4. int? chatInstance,
  5. CallbackQueryPayload? payload,
  6. dynamic extra,
  7. int? clientId,
})
override

Implementation

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