/AWS1/CL_CHIINVOKEDBY¶
Specifies the type of message that triggers a bot.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_standardmessages TYPE /AWS1/CHISTANDARDMESSAGES /AWS1/CHISTANDARDMESSAGES¶
Sets standard messages as the bot trigger. For standard messages:
ALL: The bot processes all standard messages.
AUTO: The bot responds to ALL messages when the channel has one other non-hidden member, and responds to MENTIONS when the channel has more than one other non-hidden member.
MENTIONS: The bot processes all standard messages that have a message attribute withCHIME.mentionsand a value of the bot ARN.
NONE: The bot processes no standard messages.
iv_targetedmessages TYPE /AWS1/CHITARGETEDMESSAGES /AWS1/CHITARGETEDMESSAGES¶
Sets targeted messages as the bot trigger. For targeted messages:
ALL: The bot processes allTargetedMessagessent to it. The bot then responds with a targeted message back to the sender.
NONE: The bot processes no targeted messages.
Queryable Attributes¶
StandardMessages¶
Sets standard messages as the bot trigger. For standard messages:
ALL: The bot processes all standard messages.
AUTO: The bot responds to ALL messages when the channel has one other non-hidden member, and responds to MENTIONS when the channel has more than one other non-hidden member.
MENTIONS: The bot processes all standard messages that have a message attribute withCHIME.mentionsand a value of the bot ARN.
NONE: The bot processes no standard messages.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STANDARDMESSAGES() |
Getter for STANDARDMESSAGES, with configurable default |
ASK_STANDARDMESSAGES() |
Getter for STANDARDMESSAGES w/ exceptions if field has no va |
HAS_STANDARDMESSAGES() |
Determine if STANDARDMESSAGES has a value |
TargetedMessages¶
Sets targeted messages as the bot trigger. For targeted messages:
ALL: The bot processes allTargetedMessagessent to it. The bot then responds with a targeted message back to the sender.
NONE: The bot processes no targeted messages.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TARGETEDMESSAGES() |
Getter for TARGETEDMESSAGES, with configurable default |
ASK_TARGETEDMESSAGES() |
Getter for TARGETEDMESSAGES w/ exceptions if field has no va |
HAS_TARGETEDMESSAGES() |
Determine if TARGETEDMESSAGES has a value |