class Notify::Message

Overview

送信先に依存しない中立な通知メッセージ。 Slack / Discord などのアダプタがそれぞれの形式へ変換する。

Defined in:

notify/models.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(mention : Bool = false, author_name : Nil | String = nil, author_icon : Nil | String = nil, author_link : Nil | String = nil, pretext : Nil | String = nil, color : Nil | String = nil, title : Nil | String = nil, title_link : Nil | String = nil, text : Nil | String = nil, footer : Nil | String = nil, footer_icon : Nil | String = nil) #

[View source]

Instance Method Detail

def author_icon : String | Nil #

[View source]
def author_link : String | Nil #

[View source]
def author_name : String | Nil #

[View source]
def color : String | Nil #

[View source]
def footer : String | Nil #

[View source]
def footer_icon : String | Nil #

[View source]
def mention? : Bool #

[View source]
def pretext : String | Nil #

[View source]
def text : String | Nil #

[View source]
def title : String | Nil #

[View source]
def title_link : String | Nil #

[View source]