(groupIds: string[])
| 215 | } |
| 216 | |
| 217 | setGroups(groupIds: string[]) { |
| 218 | this.log('set groups', groupIds); |
| 219 | this.groups = [...new Set([...this.groups, ...groupIds])]; |
| 220 | return this.send({ |
| 221 | type: 'assign_group', |
| 222 | payload: { |
| 223 | groupIds, |
| 224 | profileId: this.profileId, |
| 225 | }, |
| 226 | }); |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * @deprecated This method is deprecated and will be removed in a future version. |