Package org.drinkless.tdlib
Class TdApi.SetUserPersonalProfilePhoto
- Enclosing class:
- TdApi
Changes a personal profile photo of a contact user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.longUser identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes a personal profile photo of a contact user.SetUserPersonalProfilePhoto(long userId, TdApi.InputChatPhoto photo) Creates a function, which changes a personal profile photo of a contact user. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetUserPersonalProfilePhoto
public SetUserPersonalProfilePhoto()Default constructor for a function, which changes a personal profile photo of a contact user.Returns
Ok -
SetUserPersonalProfilePhoto
Creates a function, which changes a personal profile photo of a contact user.Returns
Ok- Parameters:
userId- User identifier.photo- Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-