Layer 220
method Users
stories.getAllStories#eeb0d625 flags:# next:flags.1?true hidden:flags.2?true state:flags.0?string = stories.AllStories;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Next flags.1?true If next and state are both set, uses the passed state to paginate to the next results; if neither state nor next are set, fetches the initial page; if state is set and next is not set, check for changes in the active/hidden peerset, see here for more info on the full flow.
Hidden flags.2?true If set, fetches the hidden active story list, otherwise fetches the active story list, see here for more info on the full flow.
State flags.0?string If next and state are both set, uses the passed state to paginate to the next results; if neither state nor next are set, fetches the initial page; if state is set and next is not set, check for changes in the active/hidden peerset, see here for more info on the full flow.

Gogram Example

// StoriesGetAllStories - using Params struct
result, err := client.StoriesGetAllStories(&tg.StoriesGetAllStoriesParams{

    // Optional fields:
    // Next: true,
    // Hidden: true,
    // State: "...",
})
if err != nil {
    // handle error
}
// result is *tg.StoriesAllStories