copyWith method

SetUserPersonalProfilePhoto copyWith({
  1. int? userId,
  2. InputChatPhoto? photo,
})

Implementation

SetUserPersonalProfilePhoto copyWith({int? userId, InputChatPhoto? photo}) =>
    SetUserPersonalProfilePhoto(
      userId: userId ?? this.userId,
      photo: photo ?? this.photo,
    );