WelcomeMessage class

Welcome message of a User to be posted in new Chat-dialogs with him.

Annotations

Constructors

WelcomeMessage({ChatMessageText? text, List<Attachment> attachments = const [], PreciseDateTime? at})
const
WelcomeMessage.fromJson(Map<String, dynamic> json)
Constructs a WelcomeMessage from the provided json.
factory

Properties

at PreciseDateTime?
PreciseDateTime when this WelcomeMessage was posted or edited.
final
attachments List<Attachment>
Attachments of this WelcomeMessage.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text ChatMessageText?
Text of this WelcomeMessage.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a Map representing this WelcomeMessage.
toString() String
A string representation of this object.
inherited

Operators

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