updateHubChannel
Updates an existing Channel from the given IHubChannel object
Parameters
| Parameter | Type | Default | Notes | 
|---|---|---|---|
| entity Required | IHubChannel | 
              
               An IHubChannel object  | 
          |
| context Required | IArcGISContext | 
              
               ArcGIS context  | 
          
Returns
a promise that resolves an IHubChannel representing the updated channel
| Property | Type | Notes | 
|---|---|---|
| AccessLevel | 
               The access level of the channel  | 
          |
| boolean | 
               True when authenticated users can post pseudo-anonymously, masking their identity  | 
          |
| string[] | 
               An array of blocked words. Posts & replies created/edited containing these words will result in the post status being automatically set to blocked  | 
          |
| boolean | 
               True when the currently authenticated user can delete the channel  | 
          |
| boolean | 
               True when the currently authenticated user can edit the channel  | 
          |
| IChannel | 
               A reference to the underlying IChannel object  | 
          |
| string | 
               The ID of the organization the channel was created within  | 
          |
| string | 
               The owner of the channel  | 
          |
| IEntityPermissionPolicy[] | 
               An array of IEntityPermissionPolicy representing the configured permissions for the channel  | 
          |
| string[] | 
               Tags applied to the channel  | 
          |
| string[] | 
               Typekeywords applied to the channel  | 
          |
| Inherited | Date | 
               Date the entity was created  | 
          
| Inherited | string | 
               Source of the creation date as a property path
e.q   | 
          
| Inherited | string | 
               Id of the entity as a string  | 
          
| Inherited | string | 
               Name of the Entity For Entities backed by items, this is typically the title  | 
          
| Inherited | string | 
               For Item backed results, this will be   | 
          
| Inherited | Date | 
               Date when the entity was last updated Depending on the entity, this could be derived in many different ways  | 
          
| Inherited | string | 
               Source of the updated date  | 
          
| Optional | string | 
               Description of the channel  | 
          
| Optional | IHubLocation | 
               The location of the channel  | 
          
| Optional | string | 
               Thumbnail of the channel  | 
          
| Optional | IWithViewSettings | 
               View settings of the channel  | 
          
| Optional Inherited | IHubEntityLinks | 
               Links to related things  | 
          
| Optional Inherited | string | 
               Source of the entity. Exact logic for this tbd, but the intent is to allow the result to be attributed to something other than "owner"  | 
          
| Optional Inherited | string | 
               Sanitized summary derived from item.snippet, item.description, group.description, user.description, event.description etc  | 
          
Function defined in packages/common/src/channels/edit.ts:36