EMBEDDED_ACTIVITY_UPDATE event

Sent when a user creates, joins, or leaves an activity. The inner payload is a Embedded Activity Object.

Embedded Activity Object

fieldtypedescription
channel_idsnowflakeThe channel this activity was updated in
connectionsarray of Activity ConnectionThe connections for each user
guild_idsnowflakeThe guild the activity is in
embedded_activityAPIActivity objectInformation about the activity
guild_idsnowflakeThe guild this activity is in
update_codeone of Activity Update CodeThe type of update this is.
usersarray of APIUserUsers participating in the activity

Activity Connection Object

fieldtypedescription
user_idsnowflakeThe user who this connection is related to
metadataActivity Connection Metadata objectThe metadata for this connection

Activity Connection Metadata Object

fieldtypedescription
is_eligible_to_hostbooleanIf the user with this connection can host the activity

Update codes

codedescription
1Unknown
2Activity was just created
3Existing activity is being updated