public static class TdApi.SetProfilePhoto extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputChatPhoto |
photo
Profile photo to set.
|
Constructor and Description |
---|
SetProfilePhoto()
Default constructor for a function, which changes a profile photo for the current user.
|
SetProfilePhoto(TdApi.InputChatPhoto photo)
Creates a function, which changes a profile photo for the current user.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.InputChatPhoto photo
public static final int CONSTRUCTOR
public SetProfilePhoto()
Returns Ok
public SetProfilePhoto(TdApi.InputChatPhoto photo)
Returns Ok
photo
- Profile photo to set.public int getConstructor()
getConstructor
in class TdApi.Function