Raw.MessageMediaWebPage

Raw.MessageMediaWebPage

Preview of webpage

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;
export namespace Raw {
  export class MessageMediaWebPage {
    constructor(params: {
      forceLargeMedia?: boolean;
      forceSmallMedia?: boolean;
      manual?: boolean;
      safe?: boolean;
      webpage: Raw.TypeWebPage;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xddf10c3b

Property

  • forceLargeMedia : boolean or undefined

    If set, specifies that a large media preview should be used.

  • forceSmallMedia : boolean or undefined

    If set, specifies that a small media preview should be used.

  • manual : boolean or undefined

    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 : boolean or undefined

    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 : Raw.TypeWebPage

    Webpage preview