Vibe.Gateway.Telegram.Authorization (vibe v0.2.3)

Copy Markdown View Source

Authorization and group trigger rules for Telegram gateway messages.

This mirrors the useful separation in Hermes: a message can pass the group trigger gate (mention/reply/free-response chat) and still be rejected by user or chat allowlists before it reaches a Vibe session.

Summary

Functions

authorized?(source, config)

trigger_allowed?(source, trigger, config)

@spec trigger_allowed?(
  Vibe.Gateway.Source.t(),
  map(),
  Vibe.Gateway.Telegram.Config.t()
) :: boolean()