class Tourmaline::InaccessibleMessage
- Tourmaline::InaccessibleMessage
- Reference
- Object
Overview
This object describes a message that was deleted or is otherwise inaccessible to the bot.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(chat : Tourmaline::Chat, message_id : Int32 | Int64, date : Time)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#chat : Tourmaline::Chat
Chat the message belonged to
-
#chat=(chat : Tourmaline::Chat)
Chat the message belonged to
-
#date : Time
Always 0.
-
#date=(date : Time)
Always 0.
-
#message_id : Int32 | Int64
Unique message identifier inside the chat
-
#message_id=(message_id : Int32 | Int64)
Unique message identifier inside the chat
Constructor Detail
Instance Method Detail
def date : Time
#
Always 0. The field can be used to differentiate regular and inaccessible messages.
def date=(date : Time)
#
Always 0. The field can be used to differentiate regular and inaccessible messages.