get_messages: Retrieve messages using the Matrix-Client-Server API.

View source: R/client.R

get_messagesR Documentation

Retrieve messages using the Matrix-Client-Server API.

Description

Retrieve messages using the Matrix-Client-Server API.

Usage

get_messages(room_id, from, dir = "b", to = NULL)

Arguments

room_id

The room whose messages will be received.

from

The start token within the history.

dir

Direction to receive messages in. "b" for backwards in time, "f" for forwards in time.

to

The end token to stop receiving messages at.

Value

A list object from the Matrix API.


GregSutcliffe/ChatStat documentation built on March 18, 2022, 8:51 a.m.