Skip to main content

contacts.editCloseFriends

Edit the close friends list, see here » for more info.

func (c *Client) ContactsEditCloseFriends(ctx context.Context, id []int64) (bool, error)

Calling this method

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

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

Parameters

NameTypeRequiredDescription
ID[]int64yesFull list of user IDs of close friends, see here for more info.

Returns

bool

References