stories.GetPeerMaxIDs

class pyrogram.raw.functions.stories.GetPeerMaxIDs

Get the IDs of the maximum read stories for a set of peers.

Details:
  • Layer: 227

  • ID: 78499170

Parameters:

id (List of InputPeer) – Peers

Returns:

List of RecentStory

TL Schema

stories.getPeerMaxIDs#78499170
id:Vector<InputPeer>

= Vector<RecentStory>

Parameter Tree

GetPeerMaxIDs
└── id → Vector < InputPeer >
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_id → long
├── InputPeerUser
│ ├── user_id → long
│ └── access_hash → long
│ ├── channel_id → long
│ └── access_hash → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── user_id → long
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_id → int
└── channel_id → long

Example

await app.invoke(
    GetPeerMaxIDs(
        id=[
                await app.resolve_peer(chat_id)
            ],
    )
)