Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Information of channel to be created
A unique identifier for the channel. Maximum length is 100 characters.
100
Type of the channel. Options are 'community', 'live', or 'broadcast'. Default is 'community'.
community
, live
, broadcast
The display name for the channel. Maximum length is 100 characters.
100
The ID of the file to be used as the channel's avatar. Maximum length is 50 characters.
50
Additional metadata associated with the channel. Can include custom properties.
List of tags associated with the channel. Maximum of 10 tags, each up to 100 characters long.
10
List of user IDs to be added to the channel. Maximum of 1000 user IDs, each up to 50 characters long.
1000
Indicates whether the channel is muted by default for all users.
Indicates whether automatic deletion of messages is enabled for the channel.
The number of flags required to automatically delete a message. Must be between 1 and 1000.
1 <= x <= 1000
Indicates whether the channel is public and visible to all users.
The notification mode for the channel:
default
- Automatically register push notifications.silent
- Do not send notifications.subscribe
- Send notifications only to subscribed users.
default
, silent
, subscribe
The ID of the parent live video stream (must be a parent stream, not a child stream). This is required when postId
is provided. When provided, the channel will be associated with this live stream so that users can perform live chat and live reaction.
The ID of the post that videoStreamId
belongs to. This required when videoStreamId
is provided.
Response
Channels Information
List of users in channel with membership and role. Normally, it will return only caller as user. However, it will return all users in conversation channel. For ban/unban events, it will return banned users.
Depends on messagePreviewId. if null will be empty array.
Depends on messagePreviews. if empty array will be empty array.