Skip to content

setBusinessAccountProfilePhoto

Function · TDLib 1.8.67 · d1085f9c

Changes a profile photo of a business account; for bots only

setBusinessAccountProfilePhoto(
  business_connection_id: string,
  photo: InputChatPhoto,
  is_public: Bool
) → Ok

business_connection_id

string

Unique identifier of business connection

photo

InputChatPhoto

Profile photo to set; pass null to remove the photo

is_public

Bool

Pass true to set the public photo, which will be visible even if the main photo is hidden by privacy settings