copyWith method
Implementation
KeyboardButtonTypeRequestUsers copyWith({
int? id,
bool? restrictUserIsBot,
bool? userIsBot,
bool? restrictUserIsPremium,
bool? userIsPremium,
int? maxQuantity,
bool? requestName,
bool? requestUsername,
bool? requestPhoto,
}) => KeyboardButtonTypeRequestUsers(
id: id ?? this.id,
restrictUserIsBot: restrictUserIsBot ?? this.restrictUserIsBot,
userIsBot: userIsBot ?? this.userIsBot,
restrictUserIsPremium: restrictUserIsPremium ?? this.restrictUserIsPremium,
userIsPremium: userIsPremium ?? this.userIsPremium,
maxQuantity: maxQuantity ?? this.maxQuantity,
requestName: requestName ?? this.requestName,
requestUsername: requestUsername ?? this.requestUsername,
requestPhoto: requestPhoto ?? this.requestPhoto,
);