- Enclosing class:
- TdApi
Changes a personal profile photo of
a contact user.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.long
User identifier. -
Constructor Summary
ConstructorDescriptionChanges a personal profile photo of a contact user.SetUserPersonalProfilePhoto
(long userId, TdApi.InputChatPhoto photo) Changes a personal profile photo of a contact user.Changes a personal profile photo of a contact 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
-
userId
public long userIdUser identifier. -
photo
Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetUserPersonalProfilePhoto
public SetUserPersonalProfilePhoto()Changes a personal profile photo of a contact user. ReturnsOk
-
SetUserPersonalProfilePhoto
Changes a personal profile photo of a contact user. ReturnsOk
- Parameters:
userId
- long User identifier.photo
- InputChatPhoto Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.
-
SetUserPersonalProfilePhoto
Changes a personal profile photo of a contact 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()
-