copyWith method

SetInlineGameScore copyWith({
  1. String? inlineMessageId,
  2. bool? editMessage,
  3. int? userId,
  4. int? score,
  5. bool? force,
})

Implementation

SetInlineGameScore copyWith({
  String? inlineMessageId,
  bool? editMessage,
  int? userId,
  int? score,
  bool? force,
}) =>
    SetInlineGameScore(
      inlineMessageId: inlineMessageId ?? this.inlineMessageId,
      editMessage: editMessage ?? this.editMessage,
      userId: userId ?? this.userId,
      score: score ?? this.score,
      force: force ?? this.force,
    );