ChatTheme

class pyrogram.types.ChatTheme

Describes a chat theme.

Parameters:
  • name (str, optional) – Theme name. For themes based on an emoji.

  • gift (Gift, optional) – Gift that was used to change the theme. For themes based on an upgraded gifts.