get_peer_max_story_ids()

async Client.get_peer_max_story_ids()

Get the maximum read story identifier for one or more peers.

Usable by Users Bots
Parameters:

chat_ids (int | str | List of int | str) – A single chat identifier or list of chat identifiers.

Returns:

List of RecentStory – On success, a list of recent story states is returned.

Example

max_ids = await app.get_peer_max_story_ids(["me", 123456])