Skip to main content

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

NameTypeRequiredDescription
ChannelInputChannelClassyesThe channel, pass inputChannelEmpty to remove it.

Returns

bool

References