Skip to content

Function: uploadAndSetTeamCoverPhoto() ​

ts
function uploadAndSetTeamCoverPhoto(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/teams/api/teams.ts:153

This updates the cover photo of the team. The cover photo must be a valid image file.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ file: | AttachmentInput | AttachmentInput[]; teamId: string; }-
parameters.file| AttachmentInput | AttachmentInput[]-
parameters.teamId?stringThe ID of the team to be updated.
options?RequestOptions-

Returns ​

Promise<void>