Skip to main content

contacts.getBirthdays

Fetch all users with birthdays that fall within +1/-1 days, relative to the current day: this method should be invoked by clients every 6-8 hours, and if the result is non-empty, it should be used to appropriately update locally cached birthday information in user.birthday. See here » for more info.

func (c *Client) ContactsGetBirthdays(ctx context.Context) (*ContactsContactBirthdays, error)

Calling this method

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

res, err := api.ContactsGetBirthdays(ctx)
if err != nil {
return err
}
_ = res // *ContactsContactBirthdays
return nil
})

Parameters

This method takes no parameters.

Returns

*ContactsContactBirthdays

References