account.GetTheme

class pyrogram.raw.functions.account.GetTheme

Get theme information

Details:
  • Layer: 223

  • ID: 3A5869EC

Parameters:
  • format (str) – Theme format, a string that identifies the theming engines supported by the client

  • theme (InputTheme) – Theme

Returns:

Theme

TL Schema

account.getTheme#3a5869ec
format:string
theme:InputTheme

= Theme

Parameter Tree

GetTheme
├── formatstring
└── themeInputTheme
├── InputTheme
│ ├── idlong
│ └── access_hashlong
└── InputThemeSlug
└── slugstring

Example

await app.invoke(
    GetTheme(
        format="text",
        theme=InputTheme(
            id=0,
            access_hash=0
        ),
    )
)