Package org.drinkless.tdlib
Class TdApi.SetBusinessAccountProfilePhoto
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.SetBusinessAccountProfilePhoto
- Enclosing class:
- TdApi
Changes a profile photo of a business account; for bots only.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionUnique identifier of business connection.static final int
Identifier uniquely determining type of the object.boolean
Pass true to set the public photo, which will be visible even the main photo is hidden by privacy settings.Profile photo to set; pass null to remove the photo. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes a profile photo of a business account; for bots only.SetBusinessAccountProfilePhoto
(String businessConnectionId, TdApi.InputChatPhoto photo, boolean isPublic) Creates a function, which changes a profile photo of a business account; for bots only. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
businessConnectionId
Unique identifier of business connection. -
photo
Profile photo to set; pass null to remove the photo. -
isPublic
public boolean isPublicPass true to set the public photo, which will be visible even the main photo is hidden by privacy settings. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetBusinessAccountProfilePhoto
public SetBusinessAccountProfilePhoto()Default constructor for a function, which changes a profile photo of a business account; for bots only.Returns
Ok
-
SetBusinessAccountProfilePhoto
public SetBusinessAccountProfilePhoto(String businessConnectionId, TdApi.InputChatPhoto photo, boolean isPublic) Creates a function, which changes a profile photo of a business account; for bots only.Returns
Ok
- Parameters:
businessConnectionId
- Unique identifier of business connection.photo
- Profile photo to set; pass null to remove the photo.isPublic
- Pass true to set the public photo, which will be visible even the main photo is hidden by privacy settings.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-