Layer 220
AccountSetMainProfileTab
Changes the main profile tab of the current user, see here for more info.
method
Users
account.setMainProfileTab#5dee78b0 tab:ProfileTab = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Tab | ProfileTab | The tab to set as main tab. |
Returns
BoolGogram Example
// AccountSetMainProfileTab - positional arguments result, err := client.AccountSetMainProfileTab(&tg.ProfileTab{}) if err != nil { // handle error } // result is *tg.Bool