Skip to content

Get messages command

Alvin Cheng edited this page Feb 14, 2023 · 2 revisions

Description

This is the get messages command, this command is used to fetch all messages from a specified room. This command will need the first parameter for the id of the room and the second one for the variable to return the messages to. Here is an example:

NOTE

Please use the login method before running this command, because this command requires authorized rights.

Example

$MESSAGES = (get_messages <ROOM_ID>);
Clone this wiki locally