Skip to content

class Tourmaline::MessageOriginChat
inherits Reference #

The message was originally sent on behalf of a chat to a group chat.

Included modules

JSON::Serializable

Constructors#

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

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#author_signature : String? #

Optional. For messages originally sent by an anonymous chat administrator, original message author signature

View source

#author_signature=(author_signature : String?) #

Optional. For messages originally sent by an anonymous chat administrator, original message author signature

View source

#date : Time #

View source

#date=(date : Time) #

View source

#sender_chat : Tourmaline::Chat #

Chat that sent the message originally

View source

#sender_chat=(sender_chat : Tourmaline::Chat) #

Chat that sent the message originally

View source

#type : String #

Type of the message origin, always "chat"

View source

#type=(type : String) #

Type of the message origin, always "chat"

View source