RichTextSpoiler

class pyrogram.types.RichTextSpoiler[source]

A text covered by a spoiler.

Parameters:

text (RichText) – The text.