@@ -473,6 +473,13 @@ components:
473473 title : Channel CID
474474 type : string
475475 x-stream-index : " 006"
476+ delete_messages :
477+ enum :
478+ - soft
479+ - pruning
480+ - hard
481+ type : string
482+ x-stream-index : " 011"
476483 ip_ban :
477484 description : Whether to perform IP ban or not
478485 title : IP ban
@@ -4207,7 +4214,7 @@ components:
42074214 type : array
42084215 x-stream-index : " 001.002"
42094216 type :
4210- default : message.new
4217+ default : notification.thread_message_new
42114218 type : string
42124219 x-stream-index : " 004.001"
42134220 user :
@@ -8615,6 +8622,15 @@ components:
86158622 title : Hard delete
86168623 type : boolean
86178624 x-stream-index : " 002"
8625+ member_ids :
8626+ description : List of member IDs to hide message history for. If empty, truncates
8627+ the channel for all members
8628+ items :
8629+ type : string
8630+ maximum : 100
8631+ title : Member IDs
8632+ type : array
8633+ x-stream-index : " 007"
86188634 message :
86198635 $ref : ' #/components/schemas/MessageRequest'
86208636 x-stream-index : " 004"
@@ -9155,6 +9171,9 @@ components:
91559171 skip_enrich_url :
91569172 description : Skip enrich URL
91579173 title : boolean
9174+ type : boolean
9175+ x-stream-index : " 003"
9176+ skip_push :
91589177 type : boolean
91599178 x-stream-index : " 002"
91609179 required :
@@ -10506,7 +10525,7 @@ components:
1050610525 type : apiKey
1050710526info :
1050810527 title : Stream API
10509- version : v173.0 .0
10528+ version : v174.16 .0
1051010529openapi : 3.0.3
1051110530paths :
1051210531 /app :
@@ -11759,7 +11778,7 @@ paths:
1175911778 /channels/{type}/{id}/truncate :
1176011779 post :
1176111780 description : |
11762- Truncates channel
11781+ Truncates messages from a channel. Can be applied to the entire channel or scoped to specific members.
1176311782
1176411783 Sends events:
1176511784 - channel.truncated
@@ -12333,7 +12352,7 @@ paths:
1233312352 title : ID
1233412353 type : string
1233512354 writeOnly : true
12336- x-stream-index : " 003 .001"
12355+ x-stream-index : " 004 .001"
1233712356 requestBody :
1233812357 content :
1233912358 application/json :
0 commit comments