Home > borogove > Chat > getMessagesAround
Chat.getMessagesAround() method
Fetch a page of messages around (before, including, and after) some point
Signature:
getMessagesAround(around: borogove_ChatMessage): Promise<Array markdown="1"<borogove markdown="1"_ChatMessage>>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| around | borogove_ChatMessage | ChatMessage to look around |
Returns:
Promise<Array<borogove_ChatMessage>>
Promise resolving to an array of ChatMessage that are found