UploadTheme

class pyrogram.raw.functions.account.UploadTheme

Upload theme.

Details
  • Layer: 122

  • ID: 0x1c3db333

Parameters
  • file (InputFile) – Theme file uploaded.

  • 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 – A document.