github.com/twilio/twilio-go@v1.20.1/rest/video/v1/docs/VideoV1CompositionHook.md (about) 1 # VideoV1CompositionHook 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **AccountSid** | Pointer to **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CompositionHook resource. | 8 **FriendlyName** | Pointer to **string** | The string that you assigned to describe the resource. Can be up to 100 characters long and must be unique within the account. | 9 **Enabled** | Pointer to **bool** | Whether the CompositionHook is active. When `true`, the CompositionHook is triggered for every completed Group Room on the account. When `false`, the CompositionHook is never triggered. | 10 **DateCreated** | Pointer to [**time.Time**](time.Time.md) | The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. | 11 **DateUpdated** | Pointer to [**time.Time**](time.Time.md) | The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. | 12 **Sid** | Pointer to **string** | The unique string that we created to identify the CompositionHook resource. | 13 **AudioSources** | Pointer to **[]string** | The array of track names to include in the compositions created by the composition hook. A composition triggered by the composition hook includes all audio sources specified in `audio_sources` except those specified in `audio_sources_excluded`. The track names in this property can include an asterisk as a wild card character, which matches zero or more characters in a track name. For example, `student*` includes tracks named `student` as well as `studentTeam`. Please, be aware that either video_layout or audio_sources have to be provided to get a valid creation request | 14 **AudioSourcesExcluded** | Pointer to **[]string** | The array of track names to exclude from the compositions created by the composition hook. A composition triggered by the composition hook includes all audio sources specified in `audio_sources` except for those specified in `audio_sources_excluded`. The track names in this property can include an asterisk as a wild card character, which matches zero or more characters in a track name. For example, `student*` excludes `student` as well as `studentTeam`. This parameter can also be empty. | 15 **VideoLayout** | Pointer to **interface{}** | A JSON object that describes the video layout of the composition in terms of regions as specified in the HTTP POST request that created the CompositionHook resource. See [POST Parameters](https://www.twilio.com/docs/video/api/compositions-resource#http-post-parameters) for more information. Please, be aware that either video_layout or audio_sources have to be provided to get a valid creation request | 16 **Resolution** | Pointer to **string** | The dimensions of the video image in pixels expressed as columns (width) and rows (height). The string's format is `{width}x{height}`, such as `640x480`. | 17 **Trim** | Pointer to **bool** | Whether intervals with no media are clipped, as specified in the POST request that created the CompositionHook resource. Compositions with `trim` enabled are shorter when the Room is created and no Participant joins for a while as well as if all the Participants leave the room and join later, because those gaps will be removed. See [Specifying Video Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info. | 18 **Format** | Pointer to [**string**](CompositionHookEnumFormat.md) | | 19 **StatusCallback** | Pointer to **string** | The URL we call using the `status_callback_method` to send status information to your application. | 20 **StatusCallbackMethod** | Pointer to **string** | The HTTP method we should use to call `status_callback`. Can be `POST` or `GET` and defaults to `POST`. | 21 **Url** | Pointer to **string** | The absolute URL of the resource. | 22 23 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 24 25