struct PlaceOS::Driver::Interface::ChatBot::Message

Included Modules

Extended Modules

Defined in:

placeos-driver/interface/chat_bot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : PlaceOS::Driver::Interface::ChatBot::Id, text : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def id : Id #

[View source]
def id=(id : Id) #

[View source]
def text : String #

The message, in plain text.


[View source]
def text=(text : String) #

The message, in plain text.


[View source]