Package it.tdlight.jni
Class TdApi.SetProfilePhoto
- Enclosing class:
- TdApi
Changes a profile photo for the current user.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Profile photo to set. -
Constructor Summary
ConstructorDescriptionChanges a profile photo for the current user.Changes a profile photo for the current user.SetProfilePhoto
(DataInput input) -
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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetProfilePhoto
public SetProfilePhoto()Changes a profile photo for the current user.Returns
Ok
-
SetProfilePhoto
Changes a profile photo for the current user.Returns
Ok
- Parameters:
photo
- InputChatPhoto Profile photo to set.
-
SetProfilePhoto
- 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()
-