AWSChimeSDKIdentityInvokedBy
Objective-C
@interface AWSChimeSDKIdentityInvokedBy
Swift
class AWSChimeSDKIdentityInvokedBy
Specifies the type of message that triggers a bot.
Required parameters: [StandardMessages, TargetedMessages]
-
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.mentions
and a value of the bot ARN.NONE
: The bot processes no standard messages.
Declaration
Objective-C
@property (nonatomic) AWSChimeSDKIdentityStandardMessages standardMessages;
Swift
var standardMessages: AWSChimeSDKIdentityStandardMessages { get set }
-
Sets targeted messages as the bot trigger. For targeted messages:
ALL
: The bot processes allTargetedMessages
sent to it. The bot then responds with a targeted message back to the sender.NONE
: The bot processes no targeted messages.
Declaration
Objective-C
@property (nonatomic) AWSChimeSDKIdentityTargetedMessages targetedMessages;
Swift
var targetedMessages: AWSChimeSDKIdentityTargetedMessages { get set }