The method "inbox" is related to everything that happens in direct messages with the bot. You can fetch conversations, messages, and leave a conversation.
To access the inbox object, you can utilize the Highrise class instance. For example, if your instance is named "bot," you can call the inbox method using bot.inbox
. Any subsequent method invoked belongs to the inbox. For instance, bot.inbox.conversations.get()
.
Note: If this is too complicated for you, please feel free to ask in Highrise's Discord bot-api channel.
Below are examples demonstrating a list of all available methods in the room class: