Layer 227
method Users
account.installTheme#c727bb3b flags:# dark:flags.0?true theme:flags.1?InputTheme format:flags.2?string base_theme:flags.3?BaseTheme = Bool;

Parameters

Name Type Description
Dark flags .0? true Whether to install the dark version
Theme flags .1? InputTheme Theme to install
Format flags .2? string Theme format, a string that identifies the theming engines supported by the client
BaseTheme flags .3? BaseTheme Indicates a basic theme provided by all clients

Returns

Bool

Gogram Example

// AccountInstallTheme - positional arguments
result, err := client.AccountInstallTheme(nil, nil, "Hello, World!", nil)
if err != nil {
    // handle error
}
// result is *tg.Bool