messageMediaWebPage
Preview of webpage
type tg.MessageMediaWebPage struct { /* ... */ }
Implements MessageMedia.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ForceLargeMedia | bool | — | If set, specifies that a large media preview should be used. |
ForceSmallMedia | bool | — | If set, specifies that a small media preview should be used. |
Manual | bool | — | If set, indicates that the URL used for the webpage preview was specified manually using inputMediaWebPage, and may not be related to any of the URLs specified in the message. |
Safe | bool | — | If set, the webpage can be opened directly without user confirmation; otherwise, user confirmation is required, showing the exact URL that will be opened. |
Webpage | WebPageClass | yes | Webpage preview |
References
- Official documentation
- Generated Go reference
- TL definition:
messageMediaWebPage#ddf10c3b