UpdateShortMessage class

Update Short Message.

ID: 313bc7f8.

Inheritance

Constructors

UpdateShortMessage({required bool out, required bool mentioned, required bool mediaUnread, required bool silent, required int id, required int userId, required String message, required int pts, required int ptsCount, required DateTime date, MessageFwdHeaderBase? fwdFrom, int? viaBotId, MessageReplyHeaderBase? replyTo, List<MessageEntityBase>? entities, int? ttlPeriod})
Update Short Message constructor.
const
UpdateShortMessage.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

date DateTime
Date.
final
entities List<MessageEntityBase>?
Entities.
final
flags int
Flags.
no setter
fwdFrom MessageFwdHeaderBase?
Fwd From.
final
hashCode int
The hash code for this object.
no setterinherited
id int
Id.
final
mediaUnread bool
media_unread: bit 5 of flags.5?true
final
mentioned bool
mentioned: bit 4 of flags.4?true
final
message String
Message.
final
out bool
out: bit 1 of flags.1?true
final
pts int
Pts.
final
ptsCount int
Pts Count.
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
userId int
User Id.
final
viaBotId int?
Via Bot Id.
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