Function: checkSecurity()
checkSecurity(
userId,allowedUsers):SecurityCheckResult
Defined in: .source/wunderland/src/channels/chat/ChannelSecurityGate.ts:26
Check whether a user is authorized to interact with the bot.
Parameters
userId
string
The sender's platform user ID.
allowedUsers
string[]
List of allowed user IDs. Empty = all allowed.
Returns
SecurityCheckResult
Security check result with allowed flag and optional denial reason.