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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { file: | AttachmentInput | AttachmentInput[]; teamId: string; } | - |
parameters.file | | AttachmentInput | AttachmentInput[] | - |
parameters.teamId? | string | The ID of the team to be updated. |
options? | RequestOptions | - |
Returns
Promise<void>