stories.GetPeerMaxIDs

class pyrogram.raw.functions.stories.GetPeerMaxIDs

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

Details:
  • Layer: 223

  • 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
└── idVector < InputPeer >
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_idlong
├── InputPeerUser
│ ├── user_idlong
│ └── access_hashlong
│ ├── channel_idlong
│ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── channel_idlong

Example

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