Function: conversations()
Call Signature
function conversations(
context,
siteUrl,
options
): Promise<ListPage<ConversationSummary>>;
Defined in: areas/messages/messages.ts:152
The person's conversations, latest first, with their last message as text. With limit, a page of
them (see "Long lists" in the docs' concepts), the only ones Moodle's service returns.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
options | WithLimit<PageOptions> |
Returns
Promise<ListPage<ConversationSummary>>
Call Signature
function conversations(
context,
siteUrl,
options?
): Promise<ConversationSummary[]>;
Defined in: areas/messages/messages.ts:153
The person's conversations, latest first, with their last message as text. With limit, a page of
them (see "Long lists" in the docs' concepts), the only ones Moodle's service returns.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
options? | WithoutLimit<PageOptions> |
Returns
Promise<ConversationSummary[]>
Call Signature
function conversations(
context,
siteUrl,
options?
): Promise<
| ListPage<ConversationSummary>
| ConversationSummary[]>;
Defined in: areas/messages/messages.ts:154
The person's conversations, latest first, with their last message as text. With limit, a page of
them (see "Long lists" in the docs' concepts), the only ones Moodle's service returns.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
options? | PageOptions |
Returns
Promise<
| ListPage<ConversationSummary>
| ConversationSummary[]>