account.SaveTheme

class pyrogram.raw.functions.account.SaveTheme

Save a theme

Details:
  • Layer: 223

  • ID: F257106C

Parameters:
  • theme (InputTheme) – Theme to save

  • unsave (bool) – Unsave

Returns:

bool

TL Schema

account.saveTheme#f257106c
theme:InputTheme
unsave:Bool

= Bool

Parameter Tree

SaveTheme
├── themeInputTheme
│ ├── InputTheme
│ │ ├── idlong
│ │ └── access_hashlong
│ └── InputThemeSlug
│ └── slugstring
└── unsaveBool

Example

await app.invoke(
    SaveTheme(
        theme=InputTheme(
            id=0,
            access_hash=0
        ),
        unsave=True,
    )
)