getMessages
Gets all messages.
Arguments
- (messageBox) - MessageBox
Returns
This method will return an array of Message objects with all messages in the message box.
Example
client.getMessages({messageBox}).then(messages => {
messages.forEach(message => {
// messages
})
})