alias PrivateParlorXT::MessageProc
Overview
The proc associated with a QueuedMessage
A MessageProc
can return the following types:
Tourmaline::Message
: Functions that send text messages, photos, GIFs, and similar items will return a singleTourmaline::Message
Array(Tourmaline::Message)
: Functions that send albums/media groups will return an array of the the sentTourmaline::Message
Bool
: Functions that delete, pin, or edit messages will return aBool
, wheretrue
represents a success andfalse
represents a failure. ABool
result is currently not useful to the bot.
Alias Definition
Int64, Tourmaline::ReplyParameters? -> Array(Tourmaline::Message) | Int64, Tourmaline::ReplyParameters? -> Bool | Int64, Tourmaline::ReplyParameters? -> Tourmaline::Message