class

Tourmaline::MessageOriginChannel

Inherits JSON::Serializable < Reference < Object

The message was originally sent to a channel chat.

Constructors

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

Instance methods

author_signature

Optional. Signature of the original post author

Source
author_signature=(author_signature : String | Nil)

Optional. Signature of the original post author

Source
chat

Channel chat to which the message was originally sent

Source
chat=(chat : Tourmaline::Chat)

Channel chat to which the message was originally sent

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
message_id

Unique message identifier inside the chat

Source
message_id=(message_id : Int32 | Int64)

Unique message identifier inside the chat

Source
type

Type of the message origin, always "channel"

Source
type=(type : String)

Type of the message origin, always "channel"

Source