class

Tourmaline::InaccessibleMessage

Inherits JSON::Serializable < Reference < Object

This object describes a message that was deleted or is otherwise inaccessible to the bot.

Constructors

new(chat : Tourmaline::Chat, message_id : Int32 | Int64, date : Time)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

chat

Chat the message belonged to

Source
chat=(chat : Tourmaline::Chat)

Chat the message belonged to

Source
date

Always 0. The field can be used to differentiate regular and inaccessible messages.

Source
date=(date : Time)

Always 0. The field can be used to differentiate regular and inaccessible messages.

Source
message_id

Unique message identifier inside the chat

Source
message_id=(message_id : Int32 | Int64)

Unique message identifier inside the chat

Source