Class UsersSetPhotoRequest
java.lang.Object
com.slack.api.methods.request.users.UsersSetPhotoRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/users.setPhoto
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetCropW()Width/height of crop box (always square)getCropX()X coordinate of top-left corner of crop boxgetCropY()Y coordinate of top-left corner of crop boxgetImage()File contents via `multipart/form-data`.byte[]getToken()Authentication token.inthashCode()voidWidth/height of crop box (always square)voidX coordinate of top-left corner of crop boxvoidY coordinate of top-left corner of crop boxvoidFile contents via `multipart/form-data`.voidsetImageData(byte[] imageData) voidAuthentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `users.profile:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getImage
File contents via `multipart/form-data`. -
getImageData
public byte[] getImageData() -
getCropX
X coordinate of top-left corner of crop box -
getCropY
Y coordinate of top-left corner of crop box -
getCropW
Width/height of crop box (always square) -
setToken
Authentication token. Requires scope: `users.profile:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setImage
File contents via `multipart/form-data`. -
setImageData
public void setImageData(byte[] imageData) -
setCropX
X coordinate of top-left corner of crop box -
setCropY
Y coordinate of top-left corner of crop box -
setCropW
Width/height of crop box (always square) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-