contacts.ContactBirthdays#

class pyrogram.raw.types.contacts.ContactBirthdays#

Birthday information of our contacts.

Constructor of ContactBirthdays.

Details:
  • Layer: 187

  • ID: 114FF30D

Parameters:
  • contacts (List of ContactBirthday) – Birthday info

  • users (List of User) – User information

Functions:

This object can be returned by 1 function.

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.