- Enclosing class:
- TdApi
Changes a profile photo for the current user.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
Pass true to set a public photo, which will be visible even the main photo is hidden by privacy settings.Profile photo to set. -
Constructor Summary
ConstructorDescriptionChanges a profile photo for the current user.SetProfilePhoto
(TdApi.InputChatPhoto photo, boolean isPublic) Changes a profile photo for the current user.SetProfilePhoto
(DataInput input) Changes a profile photo for the current user. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
photo
Profile photo to set. -
isPublic
public boolean isPublicPass true to set a public photo, which will be visible even the main photo is hidden by privacy settings. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetProfilePhoto
public SetProfilePhoto()Changes a profile photo for the current user. ReturnsOk
-
SetProfilePhoto
Changes a profile photo for the current user. ReturnsOk
- Parameters:
photo
- InputChatPhoto Profile photo to set.isPublic
- boolean Pass true to set a public photo, which will be visible even the main photo is hidden by privacy settings.
-
SetProfilePhoto
Changes a profile photo for the current user. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-