Interface ISearchRequestBody

interface ISearchRequestBody {
    search_categories: {
        room_events: {
            event_context?: {
                after_limit?: number;
                before_limit?: number;
                include_profile?: boolean;
            };
            filter?: IRoomEventFilter;
            groupings?: { group_by: { key: GroupKey }[] };
            include_state?: boolean;
            keys?: SearchKey[];
            order_by?: SearchOrderBy;
            search_term: string;
        };
    };
}

Properties

search_categories: {
    room_events: {
        event_context?: {
            after_limit?: number;
            before_limit?: number;
            include_profile?: boolean;
        };
        filter?: IRoomEventFilter;
        groupings?: { group_by: { key: GroupKey }[] };
        include_state?: boolean;
        keys?: SearchKey[];
        order_by?: SearchOrderBy;
        search_term: string;
    };
}