Class SetBusinessAccountProfilePhoto
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SetBusinessAccountProfilePhoto, Boolean>
io.github.natanimn.telebof.requests.set.SetBusinessAccountProfilePhoto
public class SetBusinessAccountProfilePhoto
extends AbstractBaseRequest<SetBusinessAccountProfilePhoto, Boolean>
SetBusinessAccountProfilePhoto class. Returns True on success.
- Since:
- 19 August 2025
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSetBusinessAccountProfilePhoto
(String business_connection_id, InputProfilePhoto photo, Api api) Required -
Method Summary
Methods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SetBusinessAccountProfilePhoto
public SetBusinessAccountProfilePhoto(String business_connection_id, InputProfilePhoto photo, Api api) Required- Parameters:
business_connection_id
- business connection idphoto
- photoapi
- api
-
-
Method Details
-
isPublic
Optional- Parameters:
is_public
- Pass True to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings. An account can have only one public photo.- Returns:
SetBusinessAccountProfilePhoto
-