stories.deleteStories #

Deletes some posted stories.

Layer 223

---functions---
stories.deleteStories#ae59db5f peer:InputPeer id:Vector<int> = Vector<int>;

Parameters #

NameTypeDescription
peerInputPeerChannel/user from where to delete stories.
idVector<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 #

CodeTypeDescription
403BOT_ACCESS_FORBIDDENThe 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.
400BUSINESS_CONNECTION_INVALIDThe connection_id passed to the wrapping invokeWithBusinessConnection call is invalid.
400CHANNEL_INVALIDThe provided channel is invalid.
400PEER_ID_INVALIDThe provided peer id is invalid.
400STORY_ID_EMPTYYou specified no story IDs.

Telegram Stories #

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

Connected business bots #

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

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