get_contact_statuses()

async Client.get_contact_statuses()

Obtain the online statuses of all contacts.

Usable by Users Bots
Returns:

List of ContactStatus – List of contact statuses.

Example

statuses = await app.get_contact_statuses()