feat(Threads): update permissions and fix getters (#6466)

This commit is contained in:
Advaith
2021-10-02 04:41:05 -07:00
committed by GitHub
parent 7c4d1dffb4
commit 10478ad148
3 changed files with 19 additions and 14 deletions

3
typings/index.d.ts vendored
View File

@@ -4535,8 +4535,11 @@ export type PermissionString =
| 'REQUEST_TO_SPEAK'
| 'MANAGE_THREADS'
| 'USE_PUBLIC_THREADS'
| 'CREATE_PUBLIC_THREADS'
| 'USE_PRIVATE_THREADS'
| 'CREATE_PRIVATE_THREADS'
| 'USE_EXTERNAL_STICKERS'
| 'SEND_MESSAGES_IN_THREADS'
| 'START_EMBEDDED_ACTIVITIES';
export type RecursiveArray<T> = ReadonlyArray<T | RecursiveArray<T>>;