class Tourmaline::Message
- Tourmaline::Message
- Reference
- Object
Overview
This object represents a message.
Included Modules
- JSON::Serializable
Defined in:
lib/tourmaline/src/tourmaline/types/api.crlib/tourmaline/src/tourmaline/types/custom/message.cr
private-parlor-xt/client.cr
Instance Method Summary
-
#preformatted=(preformatted : Bool | Nil)
Set to
true
if the message is preformatted (in case a command handler alters the message before an update handler gets it) -
#preformatted? : Bool | Nil
Set to
true
if the message is preformatted (in case a command handler alters the message before an update handler gets it)
Instance Method Detail
def preformatted=(preformatted : Bool | Nil)
#
Set to true
if the message is preformatted (in case a command handler alters the message before an update handler gets it)
Set to false
otherwise
def preformatted? : Bool | Nil
#
Set to true
if the message is preformatted (in case a command handler alters the message before an update handler gets it)
Set to false
otherwise