Layer 220
StoriesDeleteStories
Deletes some posted stories.
method
Users
Business
stories.deleteStories#ae59db5f peer:InputPeer id:Vector<int> = Vector<int>;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Channel/user from where to delete stories. |
| Id | Vector<int> | IDs of stories to delete. |
Returns
VectorPossible Errors
| Code | Type | Description |
|---|---|---|
| 403 | BOT_ACCESS_FORBIDDEN | The specified method can be used over a business connection for some operations, but the specified query attempted an operation that is not allowed over a business connection. |
| 400 | BUSINESS_CONNECTION_INVALID | The connection_id passed to the wrapping invoke With Business Connection call is invalid. |
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
| 400 | STORY_ID_EMPTY | You specified no story IDs. |
Gogram Example
// StoriesDeleteStories - positional arguments result, err := client.StoriesDeleteStories(&tg.InputPeerUser{UserID: int64(123456789)}, []int{}) if err != nil { // handle error } // result is *tg.Vector