Set/Update User Profile Data
#
Update user profileTo update your profile call the below method.
- Java
- Kotlin
info
In profile object for image property set the absolute file path of a file if a image file needs to be uploaded or else set it to profile image id.
Refer this doc to know more about Profile Class
Argument | Description | Data type |
---|---|---|
PROFILE_OBJECT | Profile | Profile object which the updated value |
CALLBACK | FlyCallback | FlyCallback implemented as as lambda expression |
#
Update user profile imageTo update your profile image, please use the following method. You can either send a file object containing the new image or provide a remote URL pointing to the image file
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
PROFILE_IMAGE_FILE | File | file object of the profile image optional |
CALLBACK | FlyCallback | FlyCallback implemented as lambda expression |
IMAGE_URL | String | URL of the profile image optional |
Refer Profile to know more about Profile class.
#
Remove user profile imageTo remove your profile image call the below method.
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
CALLBACK | FlyCallback | FlyCallback implemented as lambda expression |
#
Set User statusUser can set the status for their profile using the below method.
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
STATUS_TEXT | String | Status text cannot be longer than 140 characters |
CALLBACK | FlyCallback | FlyCallback implemented as lambda expression |
#
Delete User statusUser can delete their user status by calling the below method.
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
USER_STATUS | ProfileStatus | Object of the profile status that has to be deleted |
caution
User cannot delete a status which is currently selected.
#
Enable/Disable User Busy statusUser can enable and disable their busy status using the below method.
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
ENABLE_BUSY_STATUS | boolean | true enables busy status and false disables busy status |
#
Set User Busy statusUser can set the busy status message for their one to one chat conversation using the below method.
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
BUSY_STATUS_TEXT | String | busy status text cannot be longer than 140 characters |
#
Get User Busy settings statusUser can get their busy settings status by calling the below method.
- Java
- Kotlin
#
Delete User Busy statusUser can delete their busy status by calling the below method.
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
USER_BUSY_STATUS | BusyStatus | Object of the user busy status that has to be deleted |
caution
User cannot delete a busy status which is currently selected.