Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit 77d9576

Browse files
committed
Update max_api.py
1 parent 744ae08 commit 77d9576

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

MaxBridge/max_api.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,3 +257,16 @@ def mark_as_read(self, chat_id: int, message_id: str):
257257
"mark": int(time.time() * 1000)
258258
}
259259
return self._send_command(50, payload)
260+
261+
def get_contact_details(self, contact_ids: list):
262+
"""
263+
Retrieves profile information for a list of contact IDs.
264+
265+
Args:
266+
contact_ids (list): A list of integer user IDs.
267+
268+
Returns:
269+
dict: The response payload containing a list of contact profile objects.
270+
"""
271+
payload = {"contactIds": contact_ids}
272+
return self._send_command(32, payload)

0 commit comments

Comments
 (0)