Implementation of getTag of the current user
documentation of getTag Adding map for test of getTag
This commit is contained in:
parent
96545c618a
commit
2f9cc393a7
9 changed files with 354 additions and 3 deletions
|
@ -370,3 +370,18 @@ WA.registerMenuCommand('help', () => {
|
|||
WA.onChatMessage ...
|
||||
});
|
||||
```
|
||||
|
||||
### Getting the list of tags of the current user
|
||||
```
|
||||
getTagUser(): Promise<string[]>
|
||||
```
|
||||
|
||||
Return the list of all the tags that has the current user. If the current user has no tag, return an empty list. If there is no connection with the room, return nothing.
|
||||
|
||||
Example :
|
||||
```javascript
|
||||
WA.getTagUser().then((tagList) => {
|
||||
...
|
||||
});
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue