( selectedGroupId?: string | null | undefined, )
| 97 | } |
| 98 | |
| 99 | export async function getChatSidebarStateQuery( |
| 100 | selectedGroupId?: string | null | undefined, |
| 101 | ): Promise<ChatSidebarState | null> { |
| 102 | return (await window.piDesktop?.getChatSidebarState?.(selectedGroupId ?? null)) ?? null |
| 103 | } |
| 104 | |
| 105 | export async function createChatGroupQuery(name: string): Promise<ChatSidebarState | null> { |
| 106 | return (await window.piDesktop?.createChatGroup?.(name)) ?? null |
no outgoing calls
no test coverage detected