module

PlaceOS::Driver::Interface::ChatBot

NOTE:: expects messages to broadcast to a channel, such as: chat/<bot_name>/<org_id>/message

Instance methods

notify_typing(id : Id)

allows a bot responder to indicate it is replying to a message

Source
reply(id : Id, response : String, url : String | Nil = nil, attachment : Attachment | Nil = nil)

interface used to reply to a message

Source

Nested types