class

Tourmaline::MessageOriginChat

Inherits JSON::Serializable < Reference < Object

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

Constructors

new(type : String, date : Time, sender_chat : Tourmaline::Chat, author_signature : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

author_signature

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

Source
author_signature=(author_signature : String | Nil)

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

Source
date

Date the message was sent originally in Unix time

Source
date=(date : Time)

Date the message was sent originally in Unix time

Source
sender_chat

Chat that sent the message originally

Source
sender_chat=(sender_chat : Tourmaline::Chat)

Chat that sent the message originally

Source
type

Type of the message origin, always "chat"

Source
type=(type : String)

Type of the message origin, always "chat"

Source