Layer 220
StoriesIncrementStoryViews
Increment the view counter of one or more stories.
method
Users
stories.incrementStoryViews#b2028afb peer:InputPeer id:Vector<int> = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Peer where the stories were posted. |
| Id | Vector<int> | IDs of the stories (maximum 200 at a time). |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
| 400 | STORY_ID_EMPTY | You specified no story IDs. |
Gogram Example
// StoriesIncrementStoryViews - positional arguments result, err := client.StoriesIncrementStoryViews(&tg.InputPeerUser{UserID: int64(123456789)}, []int{}) if err != nil { // handle error } // result is *tg.Bool