TextWithEntities#

class pyrogram.raw.types.TextWithEntities#

Styled text with message entities.

Constructor of TextWithEntities.

Details:
  • Layer: 158

  • ID: 751F3146

Parameters:
  • text (str) – Text.

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