Specifies options that will be used to generate the link preview for the caption, or even a standalone link preview without an attached message.
Constructor schema is available as of layer 166. Switch »| Name | Type | Description | 
|---|---|---|
| flags | # | Flags, see TL conditional fields | 
| force_large_media | flags.0?true | If set, specifies that a large media preview should be used. | 
| force_small_media | flags.1?true | If set, specifies that a small media preview should be used. | 
| optional | flags.2?true | If not set, a WEBPAGE_NOT_FOUNDRPC error will be emitted if a webpage preview cannot be generated for the specifiedurl; otherwise, no error will be emitted (unless the provided message is also empty, in which case aMESSAGE_EMPTYwill be emitted, instead). | 
| url | string | The URL to use for the link preview. |