struct Slack::EventData::MessageSubset
- Slack::EventData::MessageSubset
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Slack::InitializerMacros
Defined in:
slack/events/event_data/message_subset.crConstant Summary
-
ASSIGNED_TYPES =
[attachments : Array(Slack::EventData::Attachment) | ::Nil = [] of Slack::EventData::Attachment, client_msg_id : String | ::Nil, team : String | ::Nil, text : String, ts : String] of TypeDeclaration
Constructors
- .new(text : String, ts : String, attachments : Array(Slack::EventData::Attachment) | Nil = [] of Slack::EventData::Attachment, client_msg_id : String | Nil = nil, team : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #attachments : Array(Slack::EventData::Attachment) | Nil
- #attachments=(attachments : Array(Slack::EventData::Attachment) | Nil)
- #client_msg_id : String | Nil
- #client_msg_id=(client_msg_id : String | Nil)
- #team : String | Nil
- #team=(team : String | Nil)
- #text : String
- #text=(text : String)
- #ts : String
- #ts=(ts : String)
Constructor Detail
def self.new(text : String, ts : String, attachments : Array(Slack::EventData::Attachment) | Nil = [] of Slack::EventData::Attachment, client_msg_id : String | Nil = nil, team : String | Nil = nil)
#