struct

PlaceOS::Driver::Interface::ChatBot::Id

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(message_id : String, room_id : Nil | String = nil, user_id : Nil | String = nil, org_id : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

message_id

something used to identify the message

Source
message_id=(message_id : String)

something used to identify the message

Source
org_id

The org sending the message.

Source
org_id=(org_id : String | Nil)

The org sending the message.

Source
room_id

The room ID of the message.

Source
room_id=(room_id : String | Nil)

The room ID of the message.

Source
user_id

The user who sent the message

Source
user_id=(user_id : String | Nil)

The user who sent the message

Source