WebPage
- class pyrogram.raw.types.WebPage
Webpage preview
Constructor of
WebPage
.- Details:
Layer:
194
ID:
E89C45B2
- Parameters:
id (
int
64-bit
) – Preview IDurl (
str
) – URL of previewed webpagedisplay_url (
str
) – Webpage URL to be displayed to the userhash (
int
32-bit
) – Hash for pagination, for more info click herehas_large_media (
bool
, optional) – Whether the size of the media in the preview can be changed.type (
str
, optional) – Type of the web page. Can be: article, photo, audio, video, document, profile, app, or something elsesite_name (
str
, optional) – Short name of the site (e.g., Google Docs, App Store)title (
str
, optional) – Title of the contentdescription (
str
, optional) – Content descriptionphoto (
Photo
, optional) – Image representing the contentembed_url (
str
, optional) – URL to show in the embedded previewembed_type (
str
, optional) – MIME type of the embedded preview, (e.g., text/html or video/mp4)embed_width (
int
32-bit
, optional) – Width of the embedded previewembed_height (
int
32-bit
, optional) – Height of the embedded previewduration (
int
32-bit
, optional) – Duration of the content, in secondsauthor (
str
, optional) – Author of the contentdocument (
Document
, optional) – Preview of the content as a media filecached_page (
Page
, optional) – Page contents in instant view formatattributes (List of
WebPageAttribute
, optional) – Webpage attributes