Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

92 changes: 91 additions & 1 deletion openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10732,6 +10732,91 @@ components:
x-stream-event-doc-group: other
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
UserMessagesDeletedEvent:
description: This event is sent when a user's message get deleted. The event
contains information about the user whose messages got deleted.
nullable: true
properties:
channel_custom:
additionalProperties: {}
type: object
x-stream-index: 001.001.005
channel_id:
description: The ID of the channel where the target user's messages were
deleted
title: Channel ID
type: string
x-stream-index: 001.002.002
channel_member_count:
format: int32
type: integer
x-stream-index: 001.001.004
channel_type:
description: The type of the channel where the target user's messages were
deleted
title: Channel Type
type: string
x-stream-index: 001.002.001
cid:
description: The CID of the channel where the target user's messages were
deleted
title: Channel CID
type: string
x-stream-index: 001.001.001.002
created_at:
description: Date/time of creation
format: date-time
title: Created at
type: string
x-stream-index: 001.001.001.001.003
custom:
additionalProperties: {}
type: object
x-stream-index: 001.001.001.001.007
hard_delete:
description: Whether Messages were hard deleted
title: Hard Delete
type: boolean
x-stream-index: "004"
received_at:
format: date-time
type: string
x-stream-index: 001.001.001.001.004
soft_delete:
description: Whether Messages were soft deleted
title: Soft Delete
type: boolean
x-stream-index: "003"
team:
description: The team of the channel where the target user's messages were
deleted
title: Team
type: string
x-stream-index: 001.001.003
type:
default: user.messages.deleted
description: 'The type of event: "user.messages.deleted" in this case'
title: Event Type
type: string
x-stream-index: 001.001.001.001.002
user:
$ref: '#/components/schemas/UserResponseCommonFields'
description: The target user whose messages got deleted
title: User
x-stream-index: "002.001"
required:
- type
- created_at
- custom
- user
- soft_delete
- hard_delete
title: UserMessagesDeletedEvent
type: object
x-stream-event-client-type: true
x-stream-event-doc-group: other
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
UserMute:
nullable: true
properties:
Expand Down Expand Up @@ -11381,6 +11466,7 @@ components:
reminder.created: '#/components/schemas/ReminderCreatedEvent'
reminder.deleted: '#/components/schemas/ReminderDeletedEvent'
reminder.updated: '#/components/schemas/ReminderUpdatedEvent'
user.messages.deleted: '#/components/schemas/UserMessagesDeletedEvent'
user.updated: '#/components/schemas/UserUpdatedEvent'
propertyName: type
oneOf:
Expand All @@ -11399,6 +11485,7 @@ components:
- $ref: '#/components/schemas/ReminderDeletedEvent'
- $ref: '#/components/schemas/ReminderNotificationEvent'
- $ref: '#/components/schemas/ReminderUpdatedEvent'
- $ref: '#/components/schemas/UserMessagesDeletedEvent'
- $ref: '#/components/schemas/UserUpdatedEvent'
WSEvent:
description: The discriminator object for all websocket events, it maps events'
Expand Down Expand Up @@ -11464,6 +11551,7 @@ components:
user.banned: '#/components/schemas/UserBannedEvent'
user.deactivated: '#/components/schemas/UserDeactivatedEvent'
user.deleted: '#/components/schemas/UserDeletedEvent'
user.messages.deleted: '#/components/schemas/UserMessagesDeletedEvent'
user.muted: '#/components/schemas/UserMutedEvent'
user.presence.changed: '#/components/schemas/UserPresenceChangedEvent'
user.reactivated: '#/components/schemas/UserReactivatedEvent'
Expand Down Expand Up @@ -11532,6 +11620,7 @@ components:
- $ref: '#/components/schemas/UserBannedEvent'
- $ref: '#/components/schemas/UserDeactivatedEvent'
- $ref: '#/components/schemas/UserDeletedEvent'
- $ref: '#/components/schemas/UserMessagesDeletedEvent'
- $ref: '#/components/schemas/UserMutedEvent'
- $ref: '#/components/schemas/UserPresenceChangedEvent'
- $ref: '#/components/schemas/UserReactivatedEvent'
Expand Down Expand Up @@ -11630,7 +11719,7 @@ components:
type: apiKey
info:
title: Stream API
version: v187.13.0
version: v188.1.2
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -14272,6 +14361,7 @@ paths:

Sends events:
- user.banned
- user.messages.deleted
- user.banned
operationId: Ban
requestBody:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

90 changes: 89 additions & 1 deletion openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15212,6 +15212,91 @@ components:
x-stream-event-doc-group: other
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
UserMessagesDeletedEvent:
description: This event is sent when a user's message get deleted. The event
contains information about the user whose messages got deleted.
nullable: true
properties:
channel_custom:
additionalProperties: {}
type: object
x-stream-index: 001.001.005
channel_id:
description: The ID of the channel where the target user's messages were
deleted
title: Channel ID
type: string
x-stream-index: 001.002.002
channel_member_count:
format: int32
type: integer
x-stream-index: 001.001.004
channel_type:
description: The type of the channel where the target user's messages were
deleted
title: Channel Type
type: string
x-stream-index: 001.002.001
cid:
description: The CID of the channel where the target user's messages were
deleted
title: Channel CID
type: string
x-stream-index: 001.001.001.002
created_at:
description: Date/time of creation
format: date-time
title: Created at
type: string
x-stream-index: 001.001.001.001.003
custom:
additionalProperties: {}
type: object
x-stream-index: 001.001.001.001.007
hard_delete:
description: Whether Messages were hard deleted
title: Hard Delete
type: boolean
x-stream-index: "004"
received_at:
format: date-time
type: string
x-stream-index: 001.001.001.001.004
soft_delete:
description: Whether Messages were soft deleted
title: Soft Delete
type: boolean
x-stream-index: "003"
team:
description: The team of the channel where the target user's messages were
deleted
title: Team
type: string
x-stream-index: 001.001.003
type:
default: user.messages.deleted
description: 'The type of event: "user.messages.deleted" in this case'
title: Event Type
type: string
x-stream-index: 001.001.001.001.002
user:
$ref: '#/components/schemas/UserResponseCommonFields'
description: The target user whose messages got deleted
title: User
x-stream-index: "002.001"
required:
- type
- created_at
- custom
- user
- soft_delete
- hard_delete
title: UserMessagesDeletedEvent
type: object
x-stream-event-client-type: true
x-stream-event-doc-group: other
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
UserMute:
nullable: true
properties:
Expand Down Expand Up @@ -16022,6 +16107,7 @@ components:
user.deactivated: '#/components/schemas/UserDeactivatedEvent'
user.deleted: '#/components/schemas/UserDeletedEvent'
user.flagged: '#/components/schemas/UserFlaggedEvent'
user.messages.deleted: '#/components/schemas/UserMessagesDeletedEvent'
user.muted: '#/components/schemas/UserMutedEvent'
user.reactivated: '#/components/schemas/UserReactivatedEvent'
user.unbanned: '#/components/schemas/UserUnbannedEvent'
Expand Down Expand Up @@ -16078,6 +16164,7 @@ components:
- $ref: '#/components/schemas/UserDeactivatedEvent'
- $ref: '#/components/schemas/UserDeletedEvent'
- $ref: '#/components/schemas/UserFlaggedEvent'
- $ref: '#/components/schemas/UserMessagesDeletedEvent'
- $ref: '#/components/schemas/UserMutedEvent'
- $ref: '#/components/schemas/UserReactivatedEvent'
- $ref: '#/components/schemas/UserUnbannedEvent'
Expand Down Expand Up @@ -16199,7 +16286,7 @@ components:
type: apiKey
info:
title: Stream API
version: v187.13.0
version: v188.1.2
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -19898,6 +19985,7 @@ paths:

Sends events:
- user.banned
- user.messages.deleted
- user.banned
operationId: Ban
requestBody:
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

Loading