class
Hamilton::Types::InaccessibleMessage
- Hamilton::Types::InaccessibleMessage
- Reference
- Object
Overview
This object describes a message that was deleted or is otherwise inaccessible to the bot.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/inaccessible_message.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#chat : Hamilton::Types::Chat
Chat the message belonged to.
-
#chat=(chat : Hamilton::Types::Chat)
Chat the message belonged to.
-
#date : Int32
Always 0.
-
#date=(date : Int32)
Always 0.
-
#message_id : Int32
Unique message identifier inside the chat.
-
#message_id=(message_id : Int32)
Unique message identifier inside the chat.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def date : Int32
#
Always 0. The field can be used to differentiate regular and inaccessible messages.
def date=(date : Int32)
#
Always 0. The field can be used to differentiate regular and inaccessible messages.