mirror of
https://github.com/balzack/databag.git
synced 2025-05-04 07:25:15 +00:00
Update README.md
This commit is contained in:
parent
ac9055fb92
commit
5d46241105
@ -194,6 +194,29 @@ Automate allocates the Bot interface for ia specific communication channel
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Identity interface module manages the account profile</summary><br>
|
||||||
|
|
||||||
|
The text details of the profile are set with setProfileData
|
||||||
|
|
||||||
|
```Identity::setProfileData(name: string, location: string, description: string): Promise<void>```
|
||||||
|
|
||||||
|
The profile image is set with setProfileImage
|
||||||
|
|
||||||
|
```Identity::setProfileImage(image: string): Promise<void>```
|
||||||
|
|
||||||
|
A direct url to retrieve the profile image is provided with getProfileImageUrl
|
||||||
|
|
||||||
|
```Identity:::getProfileImageUrl(): string```
|
||||||
|
|
||||||
|
The current profile can be access with a profile listener
|
||||||
|
|
||||||
|
```Identity::addProfileListener(ev: (profile: Profile) => void): void```
|
||||||
|
```Identity::removeProfileListener(ev: (profile: Profile) => void): void```
|
||||||
|
|
||||||
|
<br>
|
||||||
|
</details>
|
||||||
|
|
||||||
## Admin Communication
|
## Admin Communication
|
||||||
|
|
||||||
## Bot Communication
|
## Bot Communication
|
||||||
|
Loading…
x
Reference in New Issue
Block a user