You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Only given if the message contains a file. An object with the URL and filesize (in bytes) of the given file.
59
+
finalAttachment? attachment;
60
+
61
+
/// The message's content
62
+
finalString body;
63
+
64
+
/// The ConversationData that the message belongs to
65
+
finalConversationData conversation;
66
+
67
+
/// Custom metadata for this conversation
68
+
finalMap<String, String?>? custom;
69
+
70
+
/// The message ID of the message that was sent
71
+
finalString id;
72
+
73
+
/// 'true' if the message was sent by the current user
74
+
finalbool isByMe;
75
+
76
+
/// Only given if the message contains a location. An array of two numbers which represent the longitude and latitude of this location, respectively. Only given if this message is a shared location.
77
+
///
78
+
/// Example:
79
+
/// [51.481083, -3.178306]
80
+
finalList<double>? location;
81
+
82
+
// Determines how this message was sent
83
+
finalMessageOrigin origin;
84
+
85
+
/// 'true' if the message has been read, 'false' has not been seen yet
86
+
finalbool read;
87
+
88
+
/// The User that sent the message
89
+
finalUserData? sender;
90
+
91
+
/// Contains the user ID for the person that sent the message
92
+
finalString? senderId;
93
+
94
+
/// UNIX timestamp specifying when the message was sent (UTC, in milliseconds)
95
+
finaldouble timestamp;
96
+
97
+
/// Specifies if if the message is media (file), text or a shared location
0 commit comments