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.cr

Instance Method Summary

Instance Method Detail

abstract def notify_typing(id : Id) #

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


[View source]
abstract def reply(id : Id, response : String, url : String | Nil = nil, attachment : Attachment | Nil = nil) #

interface used to reply to a message


[View source]