File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ import {
6060 AscDesc ,
6161 PartialUpdateMemberAPIResponse ,
6262 AIState ,
63+ MessageOptions ,
6364} from './types' ;
6465import { Role } from './permissions' ;
6566import { DEFAULT_QUERY_CHANNEL_MESSAGE_LIST_PAGE_SIZE } from './constants' ;
@@ -237,6 +238,7 @@ export class Channel<StreamChatGenerics extends ExtendableGenerics = DefaultGene
237238 client_id ?: string ;
238239 connection_id ?: string ;
239240 message_filter_conditions ?: MessageFilters < StreamChatGenerics > ;
241+ message_options ?: MessageOptions ;
240242 query ?: string ;
241243 } = { } ,
242244 ) {
Original file line number Diff line number Diff line change @@ -1713,6 +1713,10 @@ export type MessageFilters<StreamChatGenerics extends ExtendableGenerics = Defau
17131713 }
17141714> ;
17151715
1716+ export type MessageOptions = {
1717+ include_thread_participants ?: boolean ;
1718+ } ;
1719+
17161720export type PrimitiveFilter < ObjectType > = ObjectType | null ;
17171721
17181722export type QueryFilter < ObjectType = string > = NonNullable < ObjectType > extends string | number | boolean
@@ -2738,6 +2742,7 @@ export type SearchPayload<StreamChatGenerics extends ExtendableGenerics = Defaul
27382742 connection_id ?: string ;
27392743 filter_conditions ?: ChannelFilters < StreamChatGenerics > ;
27402744 message_filter_conditions ?: MessageFilters < StreamChatGenerics > ;
2745+ message_options ?: MessageOptions ;
27412746 query ?: string ;
27422747 sort ?: Array < {
27432748 direction : AscDesc ;
You can’t perform that action at this time.
0 commit comments