We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f371ef2 commit 04d2c95Copy full SHA for 04d2c95
src/api/eventTypes.js
@@ -99,6 +99,10 @@ export type CustomProfileFieldsEvent = {|
99
export type MessageEvent = $ReadOnly<{|
100
...EventCommon,
101
type: typeof EventTypes.message,
102
+
103
+ // TODO: This doesn't describe what we get from the server (see, e.g.,
104
+ // avatar_url). Write a type that does; perhaps it can go in
105
+ // rawModelTypes.js.
106
message: Message,
107
108
/** See the same-named property on `Message`. */
0 commit comments