Archive all chats owned by the authenticated user.

Only chats that are currently not archived are updated. Previously archived chats keep their original archived_at timestamp.

post/api/v1beta/me/chats/archive_all

Request

  • The document declares no server URL.
  • Auth: bearer_auth (a scheme the document does not define)

Response

Successfully archived all non-archived chats

archived_countinteger required

Number of chats newly archived by this call.

Changes

No recorded changes to this operation across all 51 revisions of this API.