class Slack::Message

Included Modules

Defined in:

slack/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail

def add_params(form) #

[View source]
def attachments : Array(JSON::Any) | Nil #

[View source]
def attachments=(attachments : Array(JSON::Any) | Nil) #

[View source]
def channel : String | Nil #

[View source]
def channel=(channel : String | Nil) #

[View source]
def delete_original : Bool | Nil #

[View source]
def delete_original=(delete_original : Bool | Nil) #

[View source]
def icon_emoji : String | Nil #

[View source]
def icon_emoji=(icon_emoji : String | Nil) #

[View source]
def icon_url : String | Nil #

[View source]
def icon_url=(icon_url : String | Nil) #

[View source]
def post_with_api(api) #

[View source]
def replace_original : Bool | Nil #

[View source]
def replace_original=(replace_original : Bool | Nil) #

[View source]
def response_type : String | Nil #

[View source]
def response_type=(response_type : String | Nil) #

[View source]
def send_to_hook(url) #

[View source]
def text : String #

[View source]
def text=(text : String) #

[View source]
def token=(token) #

[View source]
def username : String | Nil #

[View source]
def username=(username : String | Nil) #

[View source]