telegram api method · layer 229 · #eeb0d625
stories.getAllStories
Fetch the List of active (or active and hidden) stories, see here » for more info on watching stories.
definition
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 | 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 | 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 | 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. |
returns
errors (2)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 160–229
| id | layers |
|---|---|
| #eeb0d625 | 160–229 |