ChatEvent class
Represents a chat event.
- Inheritance
- Available Extensions
Constructors
- ChatEvent({required int64 id, required int date, required MessageSender member_id, required ChatEventAction action, int? extra, int? clientId})
- Represents a chat event
Properties
- action ↔ ChatEventAction
-
The action.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- date ↔ int
-
Point in time (Unix timestamp) when the event happened.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ int64
-
Chat event identifier.
; string representation of int, use
int.parse
read / write - member_id ↔ MessageSender
-
Identifier of the user or chat who performed the action.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
- CONSTRUCTOR → const String
-
@type
"chatEvent"