stories.deleteStories

Deletes some posted stories.

---functions---
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.

Result

Vector<int>

Only users can use this method

This method can be invoked over a business connection ยป

Possible 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 invokeWithBusinessConnection 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.

Related pages

Stories

Telegram users and channels can easily post and view stories through the API.

Connected business bots

Business users can connect Telegram bots that will process and answer messages on their behalf. This allows businesses to seamlessly integrate any existing tools and workflows, or add AI assistants that manage their chats.

Business

Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start pages, chatbot support, and more.