Skip to main content

account.setMainProfileTab

Changes the main profile tab of the current user, see here » for more info.

func (c *Client) AccountSetMainProfileTab(ctx context.Context, tab ProfileTabClass) (bool, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.AccountSetMainProfileTab(ctx, tab)
if err != nil {
return err
}
_ = res // bool
return nil
})

Parameters

NameTypeRequiredDescription
TabProfileTabClassyesThe tab to set as main tab.

Returns

bool

References