--- title: inputMediaDocumentExternal --- ## Constructor: inputMediaDocumentExternal [Back to constructors index](index.md) ### Attributes: | Name | Type | Required | |----------|:-------------:|---------:| |url|[string](../types/string.md) | Required| |caption|[string](../types/string.md) | Required| ### Type: [InputMedia](../types/InputMedia.md) ### Example: ``` $inputMediaDocumentExternal = ['_' => inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; ```