module PlaceOS::Driver::Interface::ChatBot
Overview
NOTE : expects messages to broadcast to a channel, such as: chat/<bot_name>/<org_id>/message
Defined in:
placeos-driver/interface/chat_bot.crInstance Method Summary
-
#notify_typing(id : Id)
allows a bot responder to indicate it is replying to a message
-
#reply(id : Id, response : String, url : String | Nil = nil, attachment : Attachment | Nil = nil)
interface used to reply to a message
Instance Method Detail
allows a bot responder to indicate it is replying to a message
abstract
def reply(id : Id, response : String, url : String | Nil = nil, attachment : Attachment | Nil = nil)
#
interface used to reply to a message