Layer 220
ContactsGetBirthdays
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.
method
Users
Returns
contacts.ContactBirthdaysGogram Example
// ContactsGetBirthdays - positional arguments result, err := client.ContactsGetBirthdays() if err != nil { // handle error } // result is *tg.ContactsContactBirthdays