struct Slack::UI::Blocks::Section::Text
- Slack::UI::Blocks::Section::Text
- Struct
- Value
- Object
Defined in:
slack/ui/blocks/section.crConstructors
Instance Method Summary
- #after_initialize
- #emoji : Bool
- #emoji=(emoji : Bool)
- #empty?
- #text : String
- #text=(text : String)
- #to_json(json : JSON::Builder)
- #type : String
- #type=(type : String)
- #verbatim : Bool
- #verbatim=(verbatim : Bool)
Constructor Detail
def self.new(text : String, type : String = nil || "plain_text", emoji : Bool = nil || false, verbatim : Bool = false)
#