Link Search Menu Expand Document

Constructor: stories.foundStories

Back to constructors index

Stories found using global story search ».

Attributes:

NameTypeRequiredDescription
countintYesTotal number of results found for the query.
storiesArray of FoundStoryYesMatching stories.
next_offsetstringOptionalOffset used to fetch the next page, if not set this is the final page.
chatsArray of ChatYesMentioned chats
usersArray of UserYesMentioned users

Type: stories.FoundStories

Example:

$stories_foundStories = ['_' => 'stories.foundStories', 'count' => int, 'stories' => [FoundStory, FoundStory], 'next_offset' => 'string', 'chats' => [Chat, Chat], 'users' => [User, User]];