Skip to main content

account.deleteBusinessChatLink

Delete a business chat deep link ».

func (c *Client) AccountDeleteBusinessChatLink(ctx context.Context, slug string) (bool, error)

Calling this method​

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

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

Parameters​

NameTypeRequiredDescription
SlugstringyesSlug of the link, obtained as specified here ».

Returns​

bool

Possible errors​

CodeTypeDescription
400CHATLINK_SLUG_EMPTYThe specified slug is empty.
400CHATLINK_SLUG_EXPIREDThe specified business chat link has expired.

References​