PrivateParlorXT::RelayParameters
Inherits Reference < Object
A container used for storing values necessary for Tourmaline send message methods
Constructors
new(original_message : MessageID, sender : UserID, receivers : Array(UserID), replies : Hash(UserID, ReplyParameters) = {} of UserID => ReplyParameters, text : String = "", entities : Array(Tourmaline::MessageEntity) | Nil = nil, link_preview_options : Tourmaline::LinkPreviewOptions | Nil = nil, media : String = "", spoiler : Bool | Nil = nil, effect : String | Nil = nil, caption_above_media : Bool | Nil = nil)
SourceInstance methods
caption_above_media
Set to true if the message caption of photos, videos, or animations should be above the media, false or nil if the captoin should be below
replies
A Hash of UserID to ReplyParameters, containing the message ID for that user's message which this message will reply to
spoiler
Set to true if the message media should be spoiled, false or nil if message's media should not have a spoiler