Autobot::Bus::InboundMessage
Inherits JSON::Serializable < Struct < Value < Object
Inbound message from a chat channel
Constructors
new(channel : String, sender_id : String, chat_id : String, content : String, timestamp : Time = Time.utc, media : Array(MediaAttachment) | Nil = nil, metadata : Hash(String, String) = {} of String => String)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
channel
Sourcechat_id
Sourcecontent
Sourcemedia?
Sourcemetadata
Sourcesender_id
Sourcetimestamp
Sourceunheard_voice_note?
Source