MaybeInaccessibleMessage class abstract

This object describes a message that can be inaccessible to the bot. It can be one of

Implemented types
Implementers

Constructors

MaybeInaccessibleMessage({required Chat chat, required int messageId, required int date})
Constructor
const
MaybeInaccessibleMessage.fromJson(Map<String, dynamic> json)
Constructor from JSON data
factory

Properties

chat Chat
Chat the message belonged to
final
date int
Date the message was sent in Unix time. It is always a positive number, representing a valid date.
final
hashCode int
The hash code for this object.
no setterinherited
isAccessible bool
Returns true if this message is accessible.
no setter
isInaccessible bool
Returns true if this message is inaccessible.
no setter
messageId int
Unique message identifier inside the chat
final
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited