Layer 220
method Users
account.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool;

Parameters

Name Type Description
Theme InputTheme Theme to save
Unsave Bool Unsave

Returns

Bool

Possible Errors

Code Type Description
400 THEME_INVALID Invalid theme provided.

Gogram Example

// AccountSaveTheme - positional arguments
result, err := client.AccountSaveTheme(&tg.InputTheme{}, true)
if err != nil {
    // handle error
}
// result is *tg.Bool