inputMediaPhotoExternal
New photo that will be uploaded by the server using the specified URL
type tg.InputMediaPhotoExternal struct { /* ... */ }
Implements InputMedia.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Spoiler | bool | — | Whether this media should be hidden behind a spoiler warning |
URL | string | yes | URL of the photo |
TTLSeconds | int | — | Self-destruct time to live of photo |
References
- Official documentation
- Generated Go reference
- TL definition:
inputMediaPhotoExternal#e5bbfe1a