messages.WebPage

class pyrogram.raw.types.messages.WebPage

Represents an Instant View webpage.

Constructor of WebPage.

Details:
  • Layer: 223

  • ID: FD5E12BD

Parameters:
  • webpage (WebPage) – The instant view webpage.

  • chats (List of Chat) – Chats mentioned in the webpage.

  • users (List of User) – Users mentioned in the webpage.

Functions:

This object can be returned by 1 function.

messages.GetWebPage

Get instant view page

TL Schema

messages.webPage#fd5e12bd
webpage:WebPage
chats:Vector<Chat>
users:Vector<User>

= messages.WebPage

Parameter Tree

WebPage
├── webpageWebPage
│ ├── WebPageEmpty
│ │ ├── idlong
│ │ └── urlstring (optional)
│ ├── WebPagePending
│ │ ├── idlong
│ │ ├── urlstring (optional)
│ │ └── dateint
│ ├── WebPage
│ │ ├── has_large_mediatrue (optional)
│ │ ├── video_cover_phototrue (optional)
│ │ ├── idlong
│ │ ├── urlstring
│ │ ├── display_urlstring
│ │ ├── hashint
│ │ ├── typestring (optional)
│ │ ├── site_namestring (optional)
│ │ ├── titlestring (optional)
│ │ ├── descriptionstring (optional)
│ │ ├── photoPhoto (optional)
│ │ │ ├── PhotoEmpty
│ │ │ │ └── idlong
│ │ │ └── Photo
│ │ │ ├── has_stickerstrue (optional)
│ │ │ ├── idlong
│ │ │ ├── access_hashlong
│ │ │ ├── file_referencebytes
│ │ │ ├── dateint
│ │ │ ├── sizesVector < PhotoSize >
│ │ │ │ ├── PhotoSizeEmpty
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ ├── video_sizesVector < VideoSize > (optional)
│ │ │ │ ├── VideoSize
│ │ │ │ ├── VideoSizeEmojiMarkup
│ │ │ │ └── VideoSizeStickerMarkup
│ │ │ └── dc_idint
│ │ ├── embed_urlstring (optional)
│ │ ├── embed_typestring (optional)
│ │ ├── embed_widthint (optional)
│ │ ├── embed_heightint (optional)
│ │ ├── durationint (optional)
│ │ ├── authorstring (optional)
│ │ ├── documentDocument (optional)
│ │ │ ├── DocumentEmpty
│ │ │ │ └── idlong
│ │ │ └── Document
│ │ │ ├── idlong
│ │ │ ├── access_hashlong
│ │ │ ├── file_referencebytes
│ │ │ ├── dateint
│ │ │ ├── mime_typestring
│ │ │ ├── sizelong
│ │ │ ├── thumbsVector < PhotoSize > (optional)
│ │ │ │ ├── PhotoSizeEmpty
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ ├── video_thumbsVector < VideoSize > (optional)
│ │ │ │ ├── VideoSize
│ │ │ │ ├── VideoSizeEmojiMarkup
│ │ │ │ └── VideoSizeStickerMarkup
│ │ │ ├── dc_idint
│ │ │ └── attributesVector < DocumentAttribute >
│ │ │ ├── DocumentAttributeImageSize
│ │ │ ├── DocumentAttributeAnimated
│ │ │ ├── DocumentAttributeSticker
│ │ │ ├── DocumentAttributeVideo
│ │ │ ├── DocumentAttributeAudio
│ │ │ ├── DocumentAttributeFilename
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ ├── cached_pagePage (optional)
│ │ │ └── Page
│ │ │ ├── parttrue (optional)
│ │ │ ├── rtltrue (optional)
│ │ │ ├── v2true (optional)
│ │ │ ├── urlstring
│ │ │ ├── blocksVector < PageBlock >
│ │ │ │ ├── PageBlockUnsupported
│ │ │ │ ├── PageBlockTitle
│ │ │ │ ├── PageBlockSubtitle
│ │ │ │ ├── PageBlockAuthorDate
│ │ │ │ ├── PageBlockHeader
│ │ │ │ ├── PageBlockSubheader
│ │ │ │ ├── PageBlockParagraph
│ │ │ │ ├── PageBlockPreformatted
│ │ │ │ ├── PageBlockFooter
│ │ │ │ ├── PageBlockDivider
│ │ │ │ ├── PageBlockAnchor
│ │ │ │ ├── PageBlockList
│ │ │ │ ├── PageBlockBlockquote
│ │ │ │ ├── PageBlockPullquote
│ │ │ │ ├── PageBlockPhoto
│ │ │ │ ├── PageBlockVideo
│ │ │ │ ├── PageBlockCover
│ │ │ │ ├── PageBlockEmbed
│ │ │ │ ├── PageBlockEmbedPost
│ │ │ │ ├── PageBlockCollage
│ │ │ │ ├── PageBlockSlideshow
│ │ │ │ ├── PageBlockChannel
│ │ │ │ ├── PageBlockAudio
│ │ │ │ ├── PageBlockKicker
│ │ │ │ ├── PageBlockTable
│ │ │ │ ├── PageBlockOrderedList
│ │ │ │ ├── PageBlockDetails
│ │ │ │ ├── PageBlockRelatedArticles
│ │ │ │ └── PageBlockMap
│ │ │ ├── photosVector < Photo >
│ │ │ │ ├── PhotoEmpty
│ │ │ │ └── Photo
│ │ │ ├── documentsVector < Document >
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── viewsint (optional)
│ │ └── attributesVector < WebPageAttribute > (optional)
│ │ ├── WebPageAttributeTheme
│ │ │ ├── documentsVector < Document > (optional)
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── settingsThemeSettings (optional)
│ │ │ └── ThemeSettings
│ │ ├── WebPageAttributeStory
│ │ │ ├── peerPeer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── idint
│ │ │ └── storyStoryItem (optional)
│ │ │ ├── StoryItemDeleted
│ │ │ ├── StoryItemSkipped
│ │ │ └── StoryItem
│ │ ├── WebPageAttributeStickerSet
│ │ │ ├── emojistrue (optional)
│ │ │ ├── text_colortrue (optional)
│ │ │ └── stickersVector < Document >
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ │ └── giftStarGift
│ │ │ ├── StarGift
│ │ │ └── StarGiftUnique
│ │ │ └── iconsVector < Document >
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ ├── giftStarGift
│ │ │ ├── StarGift
│ │ │ └── StarGiftUnique
│ │ └── end_dateint
│ └── WebPageNotModified
│ └── cached_page_viewsint (optional)
├── chatsVector < Chat >
│ ├── ChatEmpty
│ │ └── idlong
│ ├── Chat
│ │ ├── creatortrue (optional)
│ │ ├── lefttrue (optional)
│ │ ├── deactivatedtrue (optional)
│ │ ├── call_activetrue (optional)
│ │ ├── call_not_emptytrue (optional)
│ │ ├── noforwardstrue (optional)
│ │ ├── idlong
│ │ ├── titlestring
│ │ ├── photoChatPhoto
│ │ │ ├── ChatPhotoEmpty
│ │ │ └── ChatPhoto
│ │ │ ├── has_videotrue (optional)
│ │ │ ├── photo_idlong
│ │ │ ├── stripped_thumbbytes (optional)
│ │ │ └── dc_idint
│ │ ├── participants_countint
│ │ ├── dateint
│ │ ├── versionint
│ │ ├── migrated_toInputChannel (optional)
│ │ │ ├── InputChannelEmpty
│ │ │ ├── InputChannel
│ │ │ └── InputChannelFromMessage
│ │ ├── admin_rightsChatAdminRights (optional)
│ │ │ └── ChatAdminRights
│ │ │ ├── change_infotrue (optional)
│ │ │ ├── post_messagestrue (optional)
│ │ │ ├── edit_messagestrue (optional)
│ │ │ ├── delete_messagestrue (optional)
│ │ │ ├── ban_userstrue (optional)
│ │ │ ├── invite_userstrue (optional)
│ │ │ ├── pin_messagestrue (optional)
│ │ │ ├── add_adminstrue (optional)
│ │ │ ├── anonymoustrue (optional)
│ │ │ ├── manage_calltrue (optional)
│ │ │ ├── othertrue (optional)
│ │ │ ├── manage_topicstrue (optional)
│ │ │ ├── post_storiestrue (optional)
│ │ │ ├── edit_storiestrue (optional)
│ │ │ ├── delete_storiestrue (optional)
│ │ │ ├── manage_direct_messagestrue (optional)
│ │ │ └── manage_rankstrue (optional)
│ │ └── default_banned_rightsChatBannedRights (optional)
│ │ └── ChatBannedRights
│ │ ├── view_messagestrue (optional)
│ │ ├── send_messagestrue (optional)
│ │ ├── send_mediatrue (optional)
│ │ ├── send_stickerstrue (optional)
│ │ ├── send_gifstrue (optional)
│ │ ├── send_gamestrue (optional)
│ │ ├── send_inlinetrue (optional)
│ │ ├── embed_linkstrue (optional)
│ │ ├── send_pollstrue (optional)
│ │ ├── change_infotrue (optional)
│ │ ├── invite_userstrue (optional)
│ │ ├── pin_messagestrue (optional)
│ │ ├── manage_topicstrue (optional)
│ │ ├── send_photostrue (optional)
│ │ ├── send_videostrue (optional)
│ │ ├── send_roundvideostrue (optional)
│ │ ├── send_audiostrue (optional)
│ │ ├── send_voicestrue (optional)
│ │ ├── send_docstrue (optional)
│ │ ├── send_plaintrue (optional)
│ │ ├── edit_ranktrue (optional)
│ │ └── until_dateint
│ ├── ChatForbidden
│ │ ├── idlong
│ │ └── titlestring
│ ├── Channel
│ │ ├── creatortrue (optional)
│ │ ├── lefttrue (optional)
│ │ ├── broadcasttrue (optional)
│ │ ├── verifiedtrue (optional)
│ │ ├── megagrouptrue (optional)
│ │ ├── restrictedtrue (optional)
│ │ ├── signaturestrue (optional)
│ │ ├── mintrue (optional)
│ │ ├── scamtrue (optional)
│ │ ├── has_linktrue (optional)
│ │ ├── has_geotrue (optional)
│ │ ├── slowmode_enabledtrue (optional)
│ │ ├── call_activetrue (optional)
│ │ ├── call_not_emptytrue (optional)
│ │ ├── faketrue (optional)
│ │ ├── gigagrouptrue (optional)
│ │ ├── noforwardstrue (optional)
│ │ ├── join_to_sendtrue (optional)
│ │ ├── join_requesttrue (optional)
│ │ ├── forumtrue (optional)
│ │ ├── stories_hiddentrue (optional)
│ │ ├── stories_hidden_mintrue (optional)
│ │ ├── stories_unavailabletrue (optional)
│ │ ├── signature_profilestrue (optional)
│ │ ├── autotranslationtrue (optional)
│ │ ├── broadcast_messages_allowedtrue (optional)
│ │ ├── monoforumtrue (optional)
│ │ ├── forum_tabstrue (optional)
│ │ ├── idlong
│ │ ├── access_hashlong (optional)
│ │ ├── titlestring
│ │ ├── usernamestring (optional)
│ │ ├── photoChatPhoto
│ │ │ ├── ChatPhotoEmpty
│ │ │ └── ChatPhoto
│ │ │ ├── has_videotrue (optional)
│ │ │ ├── photo_idlong
│ │ │ ├── stripped_thumbbytes (optional)
│ │ │ └── dc_idint
│ │ ├── dateint
│ │ ├── restriction_reasonVector < RestrictionReason > (optional)
│ │ │ └── RestrictionReason
│ │ │ ├── platformstring
│ │ │ ├── reasonstring
│ │ │ └── textstring
│ │ ├── admin_rightsChatAdminRights (optional)
│ │ │ └── ChatAdminRights
│ │ │ ├── change_infotrue (optional)
│ │ │ ├── post_messagestrue (optional)
│ │ │ ├── edit_messagestrue (optional)
│ │ │ ├── delete_messagestrue (optional)
│ │ │ ├── ban_userstrue (optional)
│ │ │ ├── invite_userstrue (optional)
│ │ │ ├── pin_messagestrue (optional)
│ │ │ ├── add_adminstrue (optional)
│ │ │ ├── anonymoustrue (optional)
│ │ │ ├── manage_calltrue (optional)
│ │ │ ├── othertrue (optional)
│ │ │ ├── manage_topicstrue (optional)
│ │ │ ├── post_storiestrue (optional)
│ │ │ ├── edit_storiestrue (optional)
│ │ │ ├── delete_storiestrue (optional)
│ │ │ ├── manage_direct_messagestrue (optional)
│ │ │ └── manage_rankstrue (optional)
│ │ ├── banned_rightsChatBannedRights (optional)
│ │ │ └── ChatBannedRights
│ │ │ ├── view_messagestrue (optional)
│ │ │ ├── send_messagestrue (optional)
│ │ │ ├── send_mediatrue (optional)
│ │ │ ├── send_stickerstrue (optional)
│ │ │ ├── send_gifstrue (optional)
│ │ │ ├── send_gamestrue (optional)
│ │ │ ├── send_inlinetrue (optional)
│ │ │ ├── embed_linkstrue (optional)
│ │ │ ├── send_pollstrue (optional)
│ │ │ ├── change_infotrue (optional)
│ │ │ ├── invite_userstrue (optional)
│ │ │ ├── pin_messagestrue (optional)
│ │ │ ├── manage_topicstrue (optional)
│ │ │ ├── send_photostrue (optional)
│ │ │ ├── send_videostrue (optional)
│ │ │ ├── send_roundvideostrue (optional)
│ │ │ ├── send_audiostrue (optional)
│ │ │ ├── send_voicestrue (optional)
│ │ │ ├── send_docstrue (optional)
│ │ │ ├── send_plaintrue (optional)
│ │ │ ├── edit_ranktrue (optional)
│ │ │ └── until_dateint
│ │ ├── default_banned_rightsChatBannedRights (optional)
│ │ │ └── ChatBannedRights
│ │ │ ├── view_messagestrue (optional)
│ │ │ ├── send_messagestrue (optional)
│ │ │ ├── send_mediatrue (optional)
│ │ │ ├── send_stickerstrue (optional)
│ │ │ ├── send_gifstrue (optional)
│ │ │ ├── send_gamestrue (optional)
│ │ │ ├── send_inlinetrue (optional)
│ │ │ ├── embed_linkstrue (optional)
│ │ │ ├── send_pollstrue (optional)
│ │ │ ├── change_infotrue (optional)
│ │ │ ├── invite_userstrue (optional)
│ │ │ ├── pin_messagestrue (optional)
│ │ │ ├── manage_topicstrue (optional)
│ │ │ ├── send_photostrue (optional)
│ │ │ ├── send_videostrue (optional)
│ │ │ ├── send_roundvideostrue (optional)
│ │ │ ├── send_audiostrue (optional)
│ │ │ ├── send_voicestrue (optional)
│ │ │ ├── send_docstrue (optional)
│ │ │ ├── send_plaintrue (optional)
│ │ │ ├── edit_ranktrue (optional)
│ │ │ └── until_dateint
│ │ ├── participants_countint (optional)
│ │ ├── usernamesVector < Username > (optional)
│ │ │ └── Username
│ │ │ ├── editabletrue (optional)
│ │ │ ├── activetrue (optional)
│ │ │ └── usernamestring
│ │ ├── stories_max_idRecentStory (optional)
│ │ │ └── RecentStory
│ │ │ ├── livetrue (optional)
│ │ │ └── max_idint (optional)
│ │ ├── colorPeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ │ ├── colorint (optional)
│ │ │ │ └── background_emoji_idlong (optional)
│ │ │ ├── PeerColorCollectible
│ │ │ │ ├── collectible_idlong
│ │ │ │ ├── gift_emoji_idlong
│ │ │ │ ├── background_emoji_idlong
│ │ │ │ ├── accent_colorint
│ │ │ │ ├── colorsVector < int >
│ │ │ │ ├── dark_accent_colorint (optional)
│ │ │ │ └── dark_colorsVector < int > (optional)
│ │ │ └── InputPeerColorCollectible
│ │ │ └── collectible_idlong
│ │ ├── profile_colorPeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ │ ├── colorint (optional)
│ │ │ │ └── background_emoji_idlong (optional)
│ │ │ ├── PeerColorCollectible
│ │ │ │ ├── collectible_idlong
│ │ │ │ ├── gift_emoji_idlong
│ │ │ │ ├── background_emoji_idlong
│ │ │ │ ├── accent_colorint
│ │ │ │ ├── colorsVector < int >
│ │ │ │ ├── dark_accent_colorint (optional)
│ │ │ │ └── dark_colorsVector < int > (optional)
│ │ │ └── InputPeerColorCollectible
│ │ │ └── collectible_idlong
│ │ ├── emoji_statusEmojiStatus (optional)
│ │ │ ├── EmojiStatusEmpty
│ │ │ ├── EmojiStatus
│ │ │ │ ├── document_idlong
│ │ │ │ └── untilint (optional)
│ │ │ ├── EmojiStatusCollectible
│ │ │ │ ├── collectible_idlong
│ │ │ │ ├── document_idlong
│ │ │ │ ├── titlestring
│ │ │ │ ├── slugstring
│ │ │ │ ├── pattern_document_idlong
│ │ │ │ ├── center_colorint
│ │ │ │ ├── edge_colorint
│ │ │ │ ├── pattern_colorint
│ │ │ │ ├── text_colorint
│ │ │ │ └── untilint (optional)
│ │ │ └── InputEmojiStatusCollectible
│ │ │ ├── collectible_idlong
│ │ │ └── untilint (optional)
│ │ ├── levelint (optional)
│ │ ├── subscription_until_dateint (optional)
│ │ ├── bot_verification_iconlong (optional)
│ │ ├── send_paid_messages_starslong (optional)
│ │ └── linked_monoforum_idlong (optional)
│ └── ChannelForbidden
│ ├── broadcasttrue (optional)
│ ├── megagrouptrue (optional)
│ ├── monoforumtrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── titlestring
│ └── until_dateint (optional)
└── usersVector < User >
├── UserEmpty
│ └── idlong
└── User
├── is_selftrue (optional)
├── contacttrue (optional)
├── mutual_contacttrue (optional)
├── deletedtrue (optional)
├── bottrue (optional)
├── bot_chat_historytrue (optional)
├── bot_nochatstrue (optional)
├── verifiedtrue (optional)
├── restrictedtrue (optional)
├── mintrue (optional)
├── bot_inline_geotrue (optional)
├── supporttrue (optional)
├── scamtrue (optional)
├── apply_min_phototrue (optional)
├── faketrue (optional)
├── bot_attach_menutrue (optional)
├── premiumtrue (optional)
├── attach_menu_enabledtrue (optional)
├── bot_can_edittrue (optional)
├── close_friendtrue (optional)
├── stories_hiddentrue (optional)
├── stories_unavailabletrue (optional)
├── contact_require_premiumtrue (optional)
├── bot_businesstrue (optional)
├── bot_has_main_apptrue (optional)
├── bot_forum_viewtrue (optional)
├── bot_forum_can_manage_topicstrue (optional)
├── idlong
├── access_hashlong (optional)
├── first_namestring (optional)
├── last_namestring (optional)
├── usernamestring (optional)
├── phonestring (optional)
├── photoUserProfilePhoto (optional)
│ ├── UserProfilePhotoEmpty
│ └── UserProfilePhoto
│ ├── has_videotrue (optional)
│ ├── personaltrue (optional)
│ ├── photo_idlong
│ ├── stripped_thumbbytes (optional)
│ └── dc_idint
├── statusUserStatus (optional)
│ ├── UserStatusEmpty
│ ├── UserStatusOnline
│ │ └── expiresint
│ ├── UserStatusOffline
│ │ └── was_onlineint
│ ├── UserStatusRecently
│ │ └── by_metrue (optional)
│ ├── UserStatusLastWeek
│ │ └── by_metrue (optional)
│ └── UserStatusLastMonth
│ └── by_metrue (optional)
├── bot_info_versionint (optional)
├── restriction_reasonVector < RestrictionReason > (optional)
│ └── RestrictionReason
│ ├── platformstring
│ ├── reasonstring
│ └── textstring
├── bot_inline_placeholderstring (optional)
├── lang_codestring (optional)
├── emoji_statusEmojiStatus (optional)
│ ├── EmojiStatusEmpty
│ ├── EmojiStatus
│ │ ├── document_idlong
│ │ └── untilint (optional)
│ │ ├── collectible_idlong
│ │ ├── document_idlong
│ │ ├── titlestring
│ │ ├── slugstring
│ │ ├── pattern_document_idlong
│ │ ├── center_colorint
│ │ ├── edge_colorint
│ │ ├── pattern_colorint
│ │ ├── text_colorint
│ │ └── untilint (optional)
│ ├── collectible_idlong
│ └── untilint (optional)
├── usernamesVector < Username > (optional)
│ └── Username
│ ├── editabletrue (optional)
│ ├── activetrue (optional)
│ └── usernamestring
├── stories_max_idRecentStory (optional)
│ └── RecentStory
│ ├── livetrue (optional)
│ └── max_idint (optional)
├── colorPeerColor (optional)
│ ├── PeerColor
│ │ ├── colorint (optional)
│ │ └── background_emoji_idlong (optional)
│ ├── PeerColorCollectible
│ │ ├── collectible_idlong
│ │ ├── gift_emoji_idlong
│ │ ├── background_emoji_idlong
│ │ ├── accent_colorint
│ │ ├── colorsVector < int >
│ │ ├── dark_accent_colorint (optional)
│ │ └── dark_colorsVector < int > (optional)
│ └── collectible_idlong
├── profile_colorPeerColor (optional)
│ ├── PeerColor
│ │ ├── colorint (optional)
│ │ └── background_emoji_idlong (optional)
│ ├── PeerColorCollectible
│ │ ├── collectible_idlong
│ │ ├── gift_emoji_idlong
│ │ ├── background_emoji_idlong
│ │ ├── accent_colorint
│ │ ├── colorsVector < int >
│ │ ├── dark_accent_colorint (optional)
│ │ └── dark_colorsVector < int > (optional)
│ └── collectible_idlong
├── bot_active_usersint (optional)
├── bot_verification_iconlong (optional)
└── send_paid_messages_starslong (optional)

Example

WebPage(
    webpage=WebPageEmpty(id=0),
    chats=[
            ChatEmpty(id=0)
        ],
    users=[
            UserEmpty(id=0)
        ],
)