InaccessibleMessage class
This object describes a message that was deleted or is otherwise inaccessible to the bot.
- Inheritance
-
- Object
- MaybeInaccessibleMessage
- InaccessibleMessage
Constructors
- InaccessibleMessage({required Chat chat, required int messageId, required int date})
-
Constructor
const
-
InaccessibleMessage.fromJson(Map<
String, dynamic> json) -
Constructor from JSON data
factory
Properties
- chat → Chat
-
Chat the message belonged to
finalinherited
- date → int
-
Date the message was sent in Unix time. It is always a positive number, representing a valid date.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAccessible → bool
-
Returns
true
if this message is accessible.no setterinherited - isInaccessible → bool
-
Returns
true
if this message is inaccessible.no setterinherited - messageId → int
-
Unique message identifier inside the chat
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts to JSON encodable Map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited