@@ -796,6 +796,9 @@ components:
796796 - block
797797 type: string
798798 x-stream-index: "009"
799+ chat_preferences:
800+ $ref: '#/components/schemas/ChatPreferences'
801+ x-stream-index: "013"
799802 commands:
800803 description: List of commands that channel supports
801804 items:
@@ -903,6 +906,9 @@ components:
903906 $ref: '#/components/schemas/BlockListOptions'
904907 type: array
905908 x-stream-index: 001.002.027
909+ chat_preferences:
910+ $ref: '#/components/schemas/ChatPreferences'
911+ x-stream-index: 001.002.034
906912 commands:
907913 items:
908914 $ref: '#/components/schemas/Command'
@@ -1574,8 +1580,12 @@ components:
15741580 channel_role:
15751581 type: string
15761582 x-stream-index: "001"
1583+ notifications_muted:
1584+ type: boolean
1585+ x-stream-index: "002"
15771586 required:
15781587 - channel_role
1588+ - notifications_muted
15791589 type: object
15801590 ChannelMute:
15811591 nullable: true
@@ -2309,6 +2319,102 @@ components:
23092319 x-stream-is-event: true
23102320 x-stream-throttle-group: ordered
23112321 x-stream-ws-base-event-name: VideoEvent
2322+ ChatPreferences:
2323+ properties:
2324+ channel_mentions:
2325+ type: string
2326+ x-stream-index: "007"
2327+ default_preference:
2328+ type: string
2329+ x-stream-index: "001"
2330+ direct_mentions:
2331+ type: string
2332+ x-stream-index: "002"
2333+ distinct_channel_messages:
2334+ type: string
2335+ x-stream-index: "008"
2336+ group_mentions:
2337+ type: string
2338+ x-stream-index: "004"
2339+ here_mentions:
2340+ type: string
2341+ x-stream-index: "006"
2342+ role_mentions:
2343+ type: string
2344+ x-stream-index: "003"
2345+ thread_replies:
2346+ type: string
2347+ x-stream-index: "005"
2348+ type: object
2349+ ChatPreferencesInput:
2350+ properties:
2351+ channel_mentions:
2352+ enum:
2353+ - all
2354+ - none
2355+ type: string
2356+ x-stream-index: "007"
2357+ default_preference:
2358+ enum:
2359+ - all
2360+ - none
2361+ type: string
2362+ x-stream-index: "001"
2363+ direct_mentions:
2364+ enum:
2365+ - all
2366+ - none
2367+ type: string
2368+ x-stream-index: "002"
2369+ group_mentions:
2370+ enum:
2371+ - all
2372+ - none
2373+ type: string
2374+ x-stream-index: "004"
2375+ here_mentions:
2376+ enum:
2377+ - all
2378+ - none
2379+ type: string
2380+ x-stream-index: "006"
2381+ role_mentions:
2382+ enum:
2383+ - all
2384+ - none
2385+ type: string
2386+ x-stream-index: "003"
2387+ thread_replies:
2388+ enum:
2389+ - all
2390+ - none
2391+ type: string
2392+ x-stream-index: "005"
2393+ type: object
2394+ ChatPreferencesResponse:
2395+ properties:
2396+ channel_mentions:
2397+ type: string
2398+ x-stream-index: "007"
2399+ default_preference:
2400+ type: string
2401+ x-stream-index: "001"
2402+ direct_mentions:
2403+ type: string
2404+ x-stream-index: "002"
2405+ group_mentions:
2406+ type: string
2407+ x-stream-index: "004"
2408+ here_mentions:
2409+ type: string
2410+ x-stream-index: "006"
2411+ role_mentions:
2412+ type: string
2413+ x-stream-index: "003"
2414+ thread_replies:
2415+ type: string
2416+ x-stream-index: "005"
2417+ type: object
23122418 Command:
23132419 description: Represents custom chat command
23142420 nullable: true
@@ -2370,6 +2476,9 @@ components:
23702476 title: Blocklist behavior
23712477 type: string
23722478 x-stream-index: "009"
2479+ chat_preferences:
2480+ $ref: '#/components/schemas/ChatPreferences'
2481+ x-stream-index: "016"
23732482 commands:
23742483 description: List of available commands
23752484 items:
@@ -2398,6 +2507,15 @@ components:
23982507 title: Max message length
23992508 type: integer
24002509 x-stream-index: "007"
2510+ push_level:
2511+ enum:
2512+ - all
2513+ - all_mentions
2514+ - mentions
2515+ - direct_mentions
2516+ - none
2517+ type: string
2518+ x-stream-index: "015"
24012519 quotes:
24022520 description: Enable/disable quotes
24032521 title: Quotes
@@ -8635,7 +8753,7 @@ components:
86358753 - default
86368754 title: Call Level
86378755 type: string
8638- x-stream-index: "004 "
8756+ x-stream-index: "005 "
86398757 channel_cid:
86408758 description: Set the push preferences for a specific channel. If empty it
86418759 sets the default for the user
@@ -8656,12 +8774,15 @@ components:
86568774 title: Chat Level
86578775 type: string
86588776 x-stream-index: "003"
8777+ chat_preferences:
8778+ $ref: '#/components/schemas/ChatPreferencesInput'
8779+ x-stream-index: "004"
86598780 disabled_until:
86608781 description: Disable push notifications till a certain time
86618782 format: date-time
86628783 title: Disabled Until
86638784 type: string
8664- x-stream-index: "007 "
8785+ x-stream-index: "008 "
86658786 feeds_level:
86668787 description: 'Set the level of feeds push notifications for the user. One
86678788 of: all, none, default'
@@ -8671,18 +8792,18 @@ components:
86718792 - default
86728793 title: Feeds Level
86738794 type: string
8674- x-stream-index: "005 "
8795+ x-stream-index: "006 "
86758796 feeds_preferences:
86768797 $ref: '#/components/schemas/FeedsPreferences'
86778798 description: Set granular feeds preferences for reactions, comments, new
86788799 followers, mentions, and custom activity types
86798800 title: Feeds Preferences
8680- x-stream-index: "006 "
8801+ x-stream-index: "007 "
86818802 remove_disable:
86828803 description: Remove the disabled until time. (IE stop snoozing notifications)
86838804 title: Remove Disable
86848805 type: boolean
8685- x-stream-index: "008 "
8806+ x-stream-index: "009 "
86868807 user_id:
86878808 description: The user id for which to set the push preferences. Required
86888809 when using server side auths, defaults to current user with client side
@@ -8695,20 +8816,23 @@ components:
86958816 properties:
86968817 call_level:
86978818 type: string
8698- x-stream-index: "002 "
8819+ x-stream-index: "003 "
86998820 chat_level:
87008821 type: string
87018822 x-stream-index: "001"
8823+ chat_preferences:
8824+ $ref: '#/components/schemas/ChatPreferencesResponse'
8825+ x-stream-index: "002"
87028826 disabled_until:
87038827 format: date-time
87048828 type: string
8705- x-stream-index: "005 "
8829+ x-stream-index: "006 "
87068830 feeds_level:
87078831 type: string
8708- x-stream-index: "003 "
8832+ x-stream-index: "004 "
87098833 feeds_preferences:
87108834 $ref: '#/components/schemas/FeedsPreferencesResponse'
8711- x-stream-index: "004 "
8835+ x-stream-index: "005 "
87128836 type: object
87138837 QueryBannedUsersPayload:
87148838 properties:
@@ -14330,7 +14454,7 @@ components:
1433014454 type: apiKey
1433114455info:
1433214456 title: Stream API
14333- version: v223.14.1
14457+ version: v223.38.0
1433414458openapi: 3.0.3
1433514459paths:
1433614460 /app:
0 commit comments