mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
900 B
900 B
title | description | nav_exclude | image |
---|---|---|---|
peerStories | Stories associated to a peer | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: peerStories
Stories associated to a peer
Attributes:
Name | Type | Required | Description |
---|---|---|---|
peer | long | Yes | The peer |
max_read_id | int | Optional | If set, contains the ID of the maximum read story |
stories | Array of StoryItem | Yes | Stories |
Type: PeerStories
Example:
$peerStories = ['_' => 'peerStories', 'peer' => long, 'max_read_id' => int, 'stories' => [StoryItem, StoryItem]];