Work with user Cover Photos
This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IUserCoverPhotos>()
and is defined in Telligent.Evolution.Platform.dll
Events
Events.AfterDelete
Handler
void UserCoverPhotoAfterDeleteEventHandler(UserCoverPhotoAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void UserCoverPhotoAfterUpdateEventHandler(UserCoverPhotoAfterUpdateEventArgs e);
Events.BeforeDelete
Handler
void UserCoverPhotoBeforeDeleteEventHandler(UserCoverPhotoBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void UserCoverPhotoBeforeUpdateEventHandler(UserCoverPhotoBeforeUpdateEventArgs e);
Methods
AdditionalInfo Delete(int userId);
Delete a user's Cover Photo
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User's id | Required |
Return Type
CoverPhoto Update(int userId, UserCoverPhotosUpdateOptions options);
Update a user's Cover Photo
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User's id | Required | ||
options | UserCoverPhotosUpdateOptions | User avatar's attributes value for update operation | Required |