account.UploadTheme#

class pyrogram.raw.functions.account.UploadTheme#

Upload theme.

Details:
  • Layer: 158

  • ID: 1C3DB333

Parameters:
  • file (InputFile) – Previously uploaded theme file with platform-specific colors for UI components, can be left unset when creating themes that only modify the wallpaper or accent colors.

  • file_name (str) – File name.

  • mime_type (str) – MIME type, must be application/x-tgtheme-{format}, where format depends on the client.

  • thumb (InputFile, optional) – Thumbnail.

Returns:

Document