public static interface InvokedBy.Builder extends SdkPojo, CopyableBuilder<InvokedBy.Builder,InvokedBy>
| Modifier and Type | Method and Description |
|---|---|
InvokedBy.Builder |
standardMessages(StandardMessages standardMessages)
Sets standard messages as the bot trigger.
|
InvokedBy.Builder |
standardMessages(String standardMessages)
Sets standard messages as the bot trigger.
|
InvokedBy.Builder |
targetedMessages(String targetedMessages)
Sets targeted messages as the bot trigger.
|
InvokedBy.Builder |
targetedMessages(TargetedMessages targetedMessages)
Sets targeted messages as the bot trigger.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInvokedBy.Builder standardMessages(String 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 with
CHIME.mentions and a value of the bot ARN.
NONE: The bot processes no standard messages.
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 with
CHIME.mentions and a value of the bot ARN.
NONE: The bot processes no standard messages.
StandardMessages,
StandardMessagesInvokedBy.Builder standardMessages(StandardMessages 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 with
CHIME.mentions and a value of the bot ARN.
NONE: The bot processes no standard messages.
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 with
CHIME.mentions and a value of the bot ARN.
NONE: The bot processes no standard messages.
StandardMessages,
StandardMessagesInvokedBy.Builder targetedMessages(String targetedMessages)
Sets targeted messages as the bot trigger. For targeted messages:
ALL: The bot processes all TargetedMessages sent to it. The bot then responds with
a targeted message back to the sender.
NONE: The bot processes no targeted messages.
targetedMessages - Sets targeted messages as the bot trigger. For targeted messages:
ALL: The bot processes all TargetedMessages sent to it. The bot then
responds with a targeted message back to the sender.
NONE: The bot processes no targeted messages.
TargetedMessages,
TargetedMessagesInvokedBy.Builder targetedMessages(TargetedMessages targetedMessages)
Sets targeted messages as the bot trigger. For targeted messages:
ALL: The bot processes all TargetedMessages sent to it. The bot then responds with
a targeted message back to the sender.
NONE: The bot processes no targeted messages.
targetedMessages - Sets targeted messages as the bot trigger. For targeted messages:
ALL: The bot processes all TargetedMessages sent to it. The bot then
responds with a targeted message back to the sender.
NONE: The bot processes no targeted messages.
TargetedMessages,
TargetedMessagesCopyright © 2023. All rights reserved.