MessageService class

Message Service.

ID: 2b085862.

Inheritance

Constructors

MessageService({required bool out, required bool mentioned, required bool mediaUnread, required bool silent, required bool post, required bool legacy, required int id, PeerBase? fromId, required PeerBase peerId, MessageReplyHeaderBase? replyTo, required DateTime date, required MessageActionBase action, int? ttlPeriod})
Message Service constructor.
const
MessageService.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

action MessageActionBase
Action.
final
date DateTime
Date.
final
flags int
Flags.
no setter
fromId PeerBase?
From Id.
final
hashCode int
The hash code for this object.
no setterinherited
id int
Id.
final
legacy bool
legacy: bit 19 of flags.19?true
final
mediaUnread bool
media_unread: bit 5 of flags.5?true
final
mentioned bool
mentioned: bit 4 of flags.4?true
final
out bool
out: bit 1 of flags.1?true
final
peerId PeerBase
Peer Id.
final
post bool
post: bit 14 of flags.14?true
final
replyTo MessageReplyHeaderBase?
Reply To.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
silent bool
silent: bit 13 of flags.13?true
final
ttlPeriod int?
Ttl Period.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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