class

Autobot::Channels::ZulipChannel

Inherits Autobot::Channels::Channel < Reference < Object

Zulip channel using Real-time Events API (Long Polling).

Supports:

  • Direct messages (private)
  • Allowlisting senders by email

Constants

Log = ::Log.for("channels.zulip")

Constructors

new(bus : Bus::MessageBus, site : String, email : String, api_key : String, allow_from : Array(String) = [] of String)
Source

Instance methods

send_message(message : Bus::OutboundMessage) : Nil

Send an outbound message through this channel.

Source
start

Start the channel and begin listening for messages.

Source
stop

Stop the channel and clean up resources.

Source