telegram api constructor · layer 229 · #ddf10c3b
messageMediaWebPage
Preview of webpage
definition
messageMediaWebPage#ddf10c3b flags:# force_large_media:flags.0?true force_small_media:flags.1?true manual:flags.3?true safe:flags.4?true webpage:WebPage = MessageMedia;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
force_large_media | true | If set, specifies that a large media preview should be used. |
force_small_media | true | If set, specifies that a small media preview should be used. |
manual | true | 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 | true | 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 | WebPage | Webpage preview |
type
MessageMedia · 18 other constructors
history
present in layers 46–229 · constructor id changed 1×
| id | layers |
|---|---|
| #a32dd600 | 46–165 |
| #ddf10c3b | 166–229 |