- Enclosing class:
- TdApi
Changes a profile photo for the current user.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intbooleanPass 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
ConstructorsConstructorDescriptionChanges 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-