Package org.drinkless.tdlib
Class TdApi.SetProfilePhoto
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SetProfilePhoto
-
- Enclosing class:
- TdApi
public static class TdApi.SetProfilePhoto extends TdApi.Function
Changes a profile photo for the current user.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.InputChatPhotophotoProfile photo to set.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
photo
public TdApi.InputChatPhoto photo
Profile photo to set.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetProfilePhoto
public SetProfilePhoto()
Default constructor for a function, which changes a profile photo for the current user.Returns
Ok
-
SetProfilePhoto
public SetProfilePhoto(TdApi.InputChatPhoto photo)
Creates a function, which changes a profile photo for the current user.Returns
Ok- Parameters:
photo- Profile photo to set.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-