Link Search Menu Expand Document

Constructor: peerStories

Back to constructors index

Stories associated to a peer

Attributes:

NameTypeRequiredDescription
peerlongYesThe peer
max_read_idintOptionalIf set, contains the ID of the maximum read story
storiesArray of StoryItemYesStories

Type: PeerStories

Example:

$peerStories = ['_' => 'peerStories', 'peer' => long, 'max_read_id' => int, 'stories' => [StoryItem, StoryItem]];