contacts.GetBirthdays

class pyrogram.raw.functions.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.

Details:
  • Layer: 223

  • ID: DAEDA864

Parameters:

No parameters required.

Returns:

contacts.ContactBirthdays

TL Schema

contacts.getBirthdays#daeda864

= contacts.ContactBirthdays

Parameter Tree

GetBirthdays

Example

await app.invoke(
    GetBirthdays(
    )
)