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

public static class TdApi.SetBusinessAccountProfilePhoto extends TdApi.Function<TdApi.Ok>
Changes a profile photo of a business account; for bots only.

Returns Ok

  • Field Details

    • businessConnectionId

      public String businessConnectionId
      Unique identifier of business connection.
    • photo

      public TdApi.InputChatPhoto photo
      Profile photo to set; pass null to remove the photo.
    • isPublic

      public boolean isPublic
      Pass true to set the public photo, which will be visible even the main photo is hidden by privacy settings.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR