struct Slack::Models::ConversationsHistory::MessageHistory
- Slack::Models::ConversationsHistory::MessageHistory
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Slack::InitializerMacros
Defined in:
slack/models/conversations/conversations_history.crConstant Summary
-
ASSIGNED_TYPES =
[blocks : Array(Hash(String, JSON::Any)) | ::Nil, files : Array(Hash(String, JSON::Any)) | ::Nil, latest_reply : String | ::Nil, reply_count : Int32 | ::Nil, reply_users : Array(String) | ::Nil, reply_users_count : Int32 | ::Nil, subtype : String | ::Nil, text : String | ::Nil, thread_ts : String | ::Nil, ts : String, type : String, user : String | ::Nil] of TypeDeclaration
Constructors
- .new(ts : String, type : String, blocks : Array(Hash(String, JSON::Any)) | Nil = nil, files : Array(Hash(String, JSON::Any)) | Nil = nil, latest_reply : String | Nil = nil, reply_count : Int32 | Nil = nil, reply_users : Array(String) | Nil = nil, reply_users_count : Int32 | Nil = nil, subtype : String | Nil = nil, text : String | Nil = nil, thread_ts : String | Nil = nil, user : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #blocks : Array(Hash(String, JSON::Any)) | Nil
- #blocks=(blocks : Array(Hash(String, JSON::Any)) | Nil)
- #files : Array(Hash(String, JSON::Any)) | Nil
- #files=(files : Array(Hash(String, JSON::Any)) | Nil)
- #latest_reply : String | Nil
- #latest_reply=(latest_reply : String | Nil)
- #reply_count : Int32 | Nil
- #reply_count=(reply_count : Int32 | Nil)
- #reply_users : Array(String) | Nil
- #reply_users=(reply_users : Array(String) | Nil)
- #reply_users_count : Int32 | Nil
- #reply_users_count=(reply_users_count : Int32 | Nil)
- #subtype : String | Nil
- #subtype=(subtype : String | Nil)
- #text : String | Nil
- #text=(text : String | Nil)
- #thread_ts : String | Nil
- #thread_ts=(thread_ts : String | Nil)
- #ts : String
- #ts=(ts : String)
- #type : String
- #type=(type : String)
- #user : String | Nil
- #user=(user : String | Nil)
Constructor Detail
def self.new(ts : String, type : String, blocks : Array(Hash(String, JSON::Any)) | Nil = nil, files : Array(Hash(String, JSON::Any)) | Nil = nil, latest_reply : String | Nil = nil, reply_count : Int32 | Nil = nil, reply_users : Array(String) | Nil = nil, reply_users_count : Int32 | Nil = nil, subtype : String | Nil = nil, text : String | Nil = nil, thread_ts : String | Nil = nil, user : String | Nil = nil)
#