You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the standard joe.ReceiveMessageEvent sent by all documented adapters does not specify whether the message is "private" (a one-on-one chat in Slack, a /msg in IRC, etc).
This can be useful in having handlers process commands differently (e.g. allow admin-level commands in direct chats) depending on the communication mode, without having to either parse the Channel or Data fields (which assumes the handler knows which adapter is being used) or having to use custom events, which assume adapter support.
The text was updated successfully, but these errors were encountered:
Currently, the standard
joe.ReceiveMessageEvent
sent by all documented adapters does not specify whether the message is "private" (a one-on-one chat in Slack, a/msg
in IRC, etc).This can be useful in having handlers process commands differently (e.g. allow admin-level commands in direct chats) depending on the communication mode, without having to either parse the
Channel
orData
fields (which assumes the handler knows which adapter is being used) or having to use custom events, which assume adapter support.The text was updated successfully, but these errors were encountered: