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

nametypedescription
flags#Flags, see TL conditional fields
force_large_mediaflags.0?trueIf set, specifies that a large media preview should be used.
force_small_mediaflags.1?trueIf set, specifies that a small media preview should be used.
manualflags.3?trueIf 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.
safeflags.4?trueIf set, the webpage can be opened directly without user confirmation; otherwise, user confirmation is required, showing the exact URL that will be opened.
webpageWebPageWebpage preview

type

MessageMedia · 18 other constructors

history

present in layers 46–229 · constructor id changed 1×

idlayers
#a32dd60046–165
#ddf10c3b166–229