Autobot::Bus::OutboundMessage
Inherits JSON::Serializable < Struct < Value < Object
Outbound message to send via a channel
Constructors
new(channel : String, chat_id : String, content : String, reply_to : String | Nil = nil, 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
Sourcereply_to?
Source