Construct an AS bot user which has various helper methods.
The client instance configured for the AS bot.
The registration that the bot is following. Used to determine which user IDs it is controlling.
The bridges membership cache instance, for storing membership the bot has discovered.
Get a map of joined user IDs for the given room ID. The values in the map are objects with a 'display_name' and 'avatar_url' properties. These properties may be null.
Resolves to a map of user ID => display_name avatar_url
The room to get a list of joined user IDs in.
Get a list of joined room IDs for the AS bot.
Resolves to a list of room IDs.
Optional
Test a userId to determine if it's a user within the exclusive regexes of the bridge.
True if it is a remote user, false otherwise.
Generated using TypeDoc
Construct an AS bot user which has various helper methods.
Param
The client instance configured for the AS bot.
Param
The registration that the bot is following. Used to determine which user IDs it is controlling.
Param
The bridges membership cache instance, for storing membership the bot has discovered.