You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Comes from either the `channelRenderFilterFn` or `usePaginatedChannels` call from [ChannelList](https://github.com/GetStream/stream-chat-react/blob/master/src/components/ChannelList/ChannelList.tsx) */
29
-
channel: Channel<At,Ch,Co,Ev,Me,Re,Us>;
30
-
/** If channel of component is active (selected) Channel */
31
-
active?: boolean;
32
-
/** Current selected Channel object */
33
-
activeChannel?: Channel<At,Ch,Co,Ev,Me,Re,Us>;
34
-
/**
35
-
* Custom UI component to display user avatar
36
-
*
37
-
* Defaults to and accepts same props as: [Avatar](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Avatar/Avatar.tsx)
38
-
*/
39
-
Avatar?: React.ComponentType<AvatarProps>;
40
-
/** Image of Channel to display */
41
-
displayImage?: string;
42
-
/** Title of Channel to display */
43
-
displayTitle?: string;
44
-
/** Latest Message's text */
45
-
latestMessage?: string;
46
-
/** Setter for selected Channel */
47
-
setActiveChannel?: ChatContextValue<
48
-
At,
49
-
Ch,
50
-
Co,
51
-
Ev,
52
-
Me,
53
-
Re,
54
-
Us
55
-
>['setActiveChannel'];
56
-
/** Number of unread Messages */
57
-
unread?: number;
58
-
/**
59
-
* Object containing watcher parameters
60
-
* @see See [Pagination documentation](https://getstream.io/chat/docs/react/channel_pagination/?language=js) for a list of available fields for sort.
/** Comes from either the `channelRenderFilterFn` or `usePaginatedChannels` call from [ChannelList](https://github.com/GetStream/stream-chat-react/blob/master/src/components/ChannelList/ChannelList.tsx) */
27
-
channel: Channel<At,Ch,Co,Ev,Me,Re,Us>;
28
-
/** Title of channel to display */
29
-
displayTitle?: string;
30
-
/** @see See [ChatContext](https://getstream.github.io/stream-chat-react/#chat) for doc */
31
-
setActiveChannel?: ChatContextValue<
32
-
At,
33
-
Ch,
34
-
Co,
35
-
Ev,
36
-
Me,
37
-
Re,
38
-
Us
39
-
>['setActiveChannel'];
40
-
/** Number of unread messages */
41
-
unread?: number;
42
-
/**
43
-
* Object containing watcher parameters
44
-
* @see See [Pagination documentation](https://getstream.io/chat/docs/#channel_pagination) for a list of available fields for sort.
/** Comes from either the `channelRenderFilterFn` or `usePaginatedChannels` call from [ChannelList](https://github.com/GetStream/stream-chat-react/blob/master/src/components/ChannelList/ChannelList.tsx) */
31
-
channel: Channel<At,Ch,Co,Ev,Me,Re,Us>;
32
-
/** If channel of component is active (selected) Channel */
33
-
active?: boolean;
34
-
/** Current selected channel object */
35
-
activeChannel?: Channel<At,Ch,Co,Ev,Me,Re,Us>;
36
-
/**
37
-
* Custom UI component to display user avatar
38
-
*
39
-
* Defaults to and accepts same props as: [Avatar](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Avatar/Avatar.tsx)
40
-
*/
41
-
Avatar?: React.ComponentType<AvatarProps>;
42
-
/** Image of Channel to display */
43
-
displayImage?: string;
44
-
/** Title of Channel to display */
45
-
displayTitle?: string;
46
-
/** Latest Message's text */
47
-
latestMessage?: string;
48
-
/** Length of latest Message to truncate at */
49
-
latestMessageLength?: number;
50
-
/** Setter for selected Channel */
51
-
setActiveChannel?: ChatContextValue<
52
-
At,
53
-
Ch,
54
-
Co,
55
-
Ev,
56
-
Me,
57
-
Re,
58
-
Us
59
-
>['setActiveChannel'];
60
-
/** Number of unread Messages */
61
-
unread?: number;
62
-
/**
63
-
* Object containing watcher parameters
64
-
* @see See [Pagination documentation](https://getstream.io/chat/docs/react/channel_pagination/?language=js) for a list of available fields for sort.
0 commit comments