Class: Aws::ChimeSDKIdentity::Types::InvokedBy

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-chimesdkidentity/types.rb

Overview

Specifies the type of message that triggers a bot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#standard_messagesString

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.

Returns:

  • (String)


1007
1008
1009
1010
1011
1012
# File 'lib/aws-sdk-chimesdkidentity/types.rb', line 1007

class InvokedBy < Struct.new(
  :standard_messages,
  :targeted_messages)
  SENSITIVE = []
  include Aws::Structure
end

#targeted_messagesString

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.

Returns:

  • (String)


1007
1008
1009
1010
1011
1012
# File 'lib/aws-sdk-chimesdkidentity/types.rb', line 1007

class InvokedBy < Struct.new(
  :standard_messages,
  :targeted_messages)
  SENSITIVE = []
  include Aws::Structure
end