Skip to content

class Tourmaline::MessageOriginChannel
inherits Reference #

The message was originally sent to a channel chat.

Included modules

JSON::Serializable

Constructors#

.new(type, date, chat, message_id, author_signature : String? = nil) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#author_signature : String? #

Optional. Signature of the original post author

View source

#author_signature=(author_signature : String?) #

Optional. Signature of the original post author

View source

#chat : Tourmaline::Chat #

Channel chat to which the message was originally sent

View source

#chat=(chat : Tourmaline::Chat) #

Channel chat to which the message was originally sent

View source

#date : Time #

View source

#date=(date : Time) #

View source

#message_id : Int32 | Int64 #

Unique message identifier inside the chat

View source

#message_id=(message_id : Int32 | Int64) #

Unique message identifier inside the chat

View source

#type : String #

Type of the message origin, always "channel"

View source

#type=(type : String) #

Type of the message origin, always "channel"

View source