Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.49 KB

CommunityChannelHistoryMessageListRequest.md

File metadata and controls

32 lines (25 loc) · 1.49 KB

CommunityChannelHistoryMessageListRequest

Properties

Name Type Description Notes
channelId string Community channel ID. [default to undefined]
subchannelId string Optional community subchannel ID. When omitted, messages from the whole community channel are queried. [optional] [default to undefined]
userId string User ID of the community-channel participant. [default to undefined]
startAt number Query start timestamp in Unix milliseconds. Must be greater than or equal to `endAt`; the range cannot exceed 14 days. [default to undefined]
endAt number Query end timestamp in Unix milliseconds. Messages are returned in descending timestamp order. [default to undefined]
pageSize number Number of messages to return. Must be between 1 and 100. [optional] [default to 10]
includeStart boolean Whether to include the message at `startAt` when it matches the query boundary. [default to undefined]

Example

import { CommunityChannelHistoryMessageListRequest } from '@nexconn/server-sdk';

const instance: CommunityChannelHistoryMessageListRequest = {
    channelId,
    subchannelId,
    userId,
    startAt,
    endAt,
    pageSize,
    includeStart,
};

[Back to Model list] [Back to API list] [Back to README]