account.SaveTheme
- class pyrogram.raw.functions.account.SaveTheme
Save a theme
- Details:
Layer:
223ID:
F257106C
- Parameters:
theme (
InputTheme) – Theme to saveunsave (
bool) – Unsave
- Returns:
bool
TL Schema
account.saveTheme#f257106c
theme:InputTheme
unsave:Bool
= Bool
Parameter Tree
SaveTheme
├── theme →
InputTheme│ ├──
InputTheme│ │ ├── id →
long│ │ └── access_hash →
long│ └──
InputThemeSlug│ └── slug →
string└── unsave →
BoolExample
await app.invoke(
SaveTheme(
theme=InputTheme(
id=0,
access_hash=0
),
unsave=True,
)
)