---
title: setUserPreferences
status: published
category: editor
group: Function
author: api
date: 06/23/2023
order: 98
---<Small>Public Function</Small>




##### Parameters


<ParametersTable>

<ParametersTableRow>
<ParametersTableName>

`user`

</ParametersTableName>
<ParametersTableDescription>

```ts
TLUserPreferences
```



</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>

##### Returns


```ts
void
```

##### References

[TLUserPreferences](/gen/editor/TLUserPreferences-interface)

