struct PlaceOS::Driver::Interface::ChatBot::Id
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
placeos-driver/interface/chat_bot.crConstructors
- .new(pull : JSON::PullParser)
- .new(message_id : String, room_id : Nil | String = nil, user_id : Nil | String = nil, org_id : Nil | String = nil)
Instance Method Summary
-
#message_id : String
something used to identify the message
-
#message_id=(message_id : String)
something used to identify the message
-
#org_id : String | Nil
The org sending the message.
-
#org_id=(org_id : String | Nil)
The org sending the message.
-
#room_id : String | Nil
The room ID of the message.
-
#room_id=(room_id : String | Nil)
The room ID of the message.
-
#user_id : String | Nil
The user who sent the message
-
#user_id=(user_id : String | Nil)
The user who sent the message
Constructor Detail
def self.new(message_id : String, room_id : Nil | String = nil, user_id : Nil | String = nil, org_id : Nil | String = nil)
#