account.updatePersonalChannel
Associate (or remove) a personal channel », that will be listed on our personal profile page ». Changing it will emit an updateUser update.
func (c *Client) AccountUpdatePersonalChannel(ctx context.Context, channel InputChannelClass) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AccountUpdatePersonalChannel(ctx, channel)
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Channel | InputChannelClass | yes | The channel, pass inputChannelEmpty to remove it. |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
account.updatePersonalChannel#d94305e0