messages.GetWebPagePreview#

class pyrogram.raw.functions.messages.GetWebPagePreview#

Get preview of webpage.

Details:
  • Layer: 158

  • ID: 8B68B0CC

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

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

Returns:

MessageMedia