Package org.drinkless.tdlib
Class TdApi.SuggestUserProfilePhoto
- Enclosing class:
- TdApi
Suggests a profile photo to another regular user with common messages and allowing non-paid messages.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Profile photo to suggest; inputChatPhotoPrevious isn't supported in this function.longUser identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which suggests a profile photo to another regular user with common messages and allowing non-paid messages.SuggestUserProfilePhoto(long userId, TdApi.InputChatPhoto photo) Creates a function, which suggests a profile photo to another regular user with common messages and allowing non-paid messages. -
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 suggest; inputChatPhotoPrevious isn't supported in this function. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SuggestUserProfilePhoto
public SuggestUserProfilePhoto()Default constructor for a function, which suggests a profile photo to another regular user with common messages and allowing non-paid messages.Returns
Ok -
SuggestUserProfilePhoto
Creates a function, which suggests a profile photo to another regular user with common messages and allowing non-paid messages.Returns
Ok- Parameters:
userId- User identifier.photo- Profile photo to suggest; 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
-