messages.GetWebPagePreview#

class pyrogram.raw.functions.messages.GetWebPagePreview#

Get preview of webpage

Details:
  • Layer: 198

  • ID: 570D6F6F

Parameters:
  • message (str) – Message from which to extract the preview

  • entities (List of MessageEntity, optional) – Message entities for styled text

Returns:

messages.WebPagePreview