public static class TdApi.SetUserPersonalProfilePhoto extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputChatPhoto |
photo
Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.
|
long |
userId
User identifier.
|
| Constructor and Description |
|---|
SetUserPersonalProfilePhoto()
Default 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public TdApi.InputChatPhoto photo
public static final int CONSTRUCTOR
public SetUserPersonalProfilePhoto()
Returns Ok
public SetUserPersonalProfilePhoto(long userId,
TdApi.InputChatPhoto photo)
Returns Ok
userId - User identifier.photo - Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object