Enables scripted content fragments to use group avatars
Methods
Delete
Deletes a group avatar
Velocity
#set($additionalInfoResponse = $core_v2_groupAvatar.Delete($groupId))
JavaScript
var additionalInfoResponse = core_v2_groupAvatar.Delete(groupId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
groupId | Int32 | Group Id | Required |
Returns
Update
Updates a group avatar
Velocity
#set($stringResponse = $core_v2_groupAvatar.Update($groupId, "%{ AvatarUrl = $avatarUrlArg, FileName = $fileNameArg, FileUploadContext = $fileUploadContextArg }"))
JavaScript
var stringResponse = core_v2_groupAvatar.Update(groupId, { AvatarUrl: avatarUrlArg, FileName: fileNameArg, FileUploadContext: fileUploadContextArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
groupId | Int32 | Group Id | Required | ||
options | Options | Set of optional parameters including: | Required | ||
AvatarUrl | String | Avatar Url. Either AvatarUrl or FileUploadContext and FileName is required. Avatar Url should match a selectable avatar's Url. | Optional | ||
FileName | String | FileName. Either AvatarUrl or FileUploadContext and FileName is required. Optional parameter | Optional | ||
FileUploadContext | String | File Upload Context. Either AvatarUrl or FileUploadContext and FileName is required. Optional parameter | Optional |
Returns
String