contacts.deleteByPhones
Delete contacts by phone number
func (c *Client) ContactsDeleteByPhones(ctx context.Context, phones []string) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.ContactsDeleteByPhones(ctx, phones)
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Phones | []string | yes | Phone numbers |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
contacts.deleteByPhones#1013fd9e