Variable DirectThreadDataSchemaConst
DirectThreadDataSchema: Struct<
{
media: $Array<
Union<
readonly [
Struct<
{
height: Number;
media_type: Literal<1>;
pk: String;
url: String;
width: Number;
},
>,
Struct<
{
height: Number;
media_type: Literal<2>;
pk: String;
url: String;
width: Number;
},
>,
Struct<
{
media_type: Literal<8>;
pk: String;
slides: $Array<
Struct<{ media_type: Union<(...)>; pk: String; url: String }>,
>;
},
>,
],
>,
>;
messages: $Array<
Struct<
{
client_context: optionalKey<String>;
item_id: String;
item_type: String;
media: optionalKey<
Union<
readonly [
Struct<
{
height: Number;
media_type: Literal<(...)>;
pk: String;
url: String;
width: Number;
},
>,
Struct<
{
height: Number;
media_type: Literal<(...)>;
pk: String;
url: String;
width: Number;
},
>,
Struct<
{
media_type: Literal<(...)>;
pk: String;
slides: $Array<(...)>;
},
>,
],
>,
>;
text: optionalKey<String>;
timestamp: String;
user_id: String;
},
>,
>;
thread: Struct<
{
is_group: Boolean;
muted: optionalKey<Boolean>;
thread_id: String;
thread_title: String;
thread_v2_id: optionalKey<String>;
},
>;
users: $Array<
Struct<
{
fbid_v2: optionalKey<String>;
full_name: String;
pk: String;
username: String;
},
>,
>;
},
> = ...
What a thread shows: its participants, its messages and the media elements among them, and its identity under
thread: the v2 id, the name, whether it is a group, and whether its notifications are muted.