Interface GroupPolicyInput

Inputs the evaluator needs about one inbound message.

interface GroupPolicyInput {
    isGroup: boolean;
    senderId: string;
    senderIsBot: boolean;
    mentions: undefined | string[];
    supportsMentions: boolean;
    botUserId?: string;
    bindingOwnerUserId?: string;
}

Properties

isGroup: boolean

True for group/channel/thread conversations; DMs bypass policy.

senderId: string

Platform-native sender ID.

senderIsBot: boolean

Platform marks the sender as a bot/automated account.

mentions: undefined | string[]

Mentioned platform user IDs, if the adapter extracts them.

supportsMentions: boolean

Adapter reliably populates mentions.

botUserId?: string

The agent's own platform user ID (self-echo guard), when known.

bindingOwnerUserId?: string

Owner from the binding config, when present.