Truncate channel for only 1 user #1799
Unanswered
JohnLaibach
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a requirement to truncate channel messages for only 1 user (the user initiating the truncating).
Was looking through the documentation and tried
channel.truncate()
but that deletes the messages for both users.And second question:
in the docs it says The default behaviour is to hide messages when channel is truncated. To permanently delete messages, set the hard_delete option to true.
When
hard_delete
is set tofalse
, where are the truncated messages visible?Tnx, ahead!
Beta Was this translation helpful? Give feedback.
All reactions