- Enclosing class:
- TdApi
Changes a personal profile photo of
a contact user.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intProfile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.longUser identifier. -
Constructor Summary
ConstructorsConstructorDescriptionChanges 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-