Saltar al contenido principal

Function: forumDiscussions()

Call Signature​

function forumDiscussions(
context,
siteUrl,
activityId,
options
): Promise<ListPage<ForumDiscussion>>;

Defined in: areas/forums/posts.ts:36

A forum's discussions, as its page lists them: who started each, replies, last post, the person's subscription. With limit, a page of them in the forum's order (see "Long lists" in the docs' concepts), read from the one page of the forum's own paging that holds it.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
activityIdnumber
optionsWithLimit<PageOptions>

Returns​

Promise<ListPage<ForumDiscussion>>

Call Signature​

function forumDiscussions(
context,
siteUrl,
activityId,
options?
): Promise<ForumDiscussion[]>;

Defined in: areas/forums/posts.ts:37

A forum's discussions, as its page lists them: who started each, replies, last post, the person's subscription. With limit, a page of them in the forum's order (see "Long lists" in the docs' concepts), read from the one page of the forum's own paging that holds it.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
activityIdnumber
options?WithoutLimit<PageOptions>

Returns​

Promise<ForumDiscussion[]>

Call Signature​

function forumDiscussions(
context,
siteUrl,
activityId,
options?
): Promise<
| ListPage<ForumDiscussion>
| ForumDiscussion[]>;

Defined in: areas/forums/posts.ts:38

A forum's discussions, as its page lists them: who started each, replies, last post, the person's subscription. With limit, a page of them in the forum's order (see "Long lists" in the docs' concepts), read from the one page of the forum's own paging that holds it.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
activityIdnumber
options?PageOptions

Returns​

Promise< | ListPage<ForumDiscussion> | ForumDiscussion[]>