Skip to content

InvokedBy

Source code in docs_src/capo_chime_sdk_identity/types/invoked_by.py
class InvokedBy(TypedDict, closed=True):
    standard_messages: (
        "capo_chime_sdk_identity.types.standard_messages.StandardMessages"
    )
    """<p>Sets standard messages as the bot trigger. For standard messages:</p> <ul> <li> <p> <code>ALL</code>: The bot processes all standard messages.</p> </li> <li> <p> <code>AUTO</code>: 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.</p> </li> <li> <p> <code>MENTIONS</code>: The bot processes all standard messages that have a message attribute with <code>CHIME.mentions</code> and a value of the bot ARN.</p> </li> <li> <p> <code>NONE</code>: The bot processes no standard messages.</p> </li> </ul>"""
    targeted_messages: (
        "capo_chime_sdk_identity.types.targeted_messages.TargetedMessages"
    )
    """<p>Sets targeted messages as the bot trigger. For targeted messages:</p> <ul> <li> <p> <code>ALL</code>: The bot processes all <code>TargetedMessages</code> sent to it. The bot then responds with a targeted message back to the sender. </p> </li> <li> <p> <code>NONE</code>: The bot processes no targeted messages.</p> </li> </ul>"""

standard_messages instance-attribute

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.

targeted_messages instance-attribute

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.