class Slack::Message
- Slack::Message
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
slack/message.crConstructors
- .new(pull : JSON::PullParser)
- .new(text : String, channel : String | Nil = nil, icon_emoji : String | Nil = nil, icon_url : String | Nil = nil, username : String | Nil = nil, attachments : Array(JSON::Any) | Nil = nil, response_type : String | Nil = nil, delete_original : Bool | Nil = nil, replace_original : Bool | Nil = nil)
Instance Method Summary
- #add_params(form)
- #attachments : Array(JSON::Any) | Nil
- #attachments=(attachments : Array(JSON::Any) | Nil)
- #channel : String | Nil
- #channel=(channel : String | Nil)
- #delete_original : Bool | Nil
- #delete_original=(delete_original : Bool | Nil)
- #icon_emoji : String | Nil
- #icon_emoji=(icon_emoji : String | Nil)
- #icon_url : String | Nil
- #icon_url=(icon_url : String | Nil)
- #post_with_api(api)
- #replace_original : Bool | Nil
- #replace_original=(replace_original : Bool | Nil)
- #response_type : String | Nil
- #response_type=(response_type : String | Nil)
- #send_to_hook(url)
- #text : String
- #text=(text : String)
- #token=(token)
- #username : String | Nil
- #username=(username : String | Nil)
Constructor Detail
def self.new(text : String, channel : String | Nil = nil, icon_emoji : String | Nil = nil, icon_url : String | Nil = nil, username : String | Nil = nil, attachments : Array(JSON::Any) | Nil = nil, response_type : String | Nil = nil, delete_original : Bool | Nil = nil, replace_original : Bool | Nil = nil)
#