Activity
VARIABLE | TYPE | DESCRIPTION | OPTIONAL |
---|---|---|---|
id | String | ID of the activity. | |
action | Int | Action that triggered this activity. | |
actionBy | List<String> | List of unique ids of users whose actions are included in the activity. | |
actionOn | String | ID of the user for whom this activity is generated. | |
activityText | String | Text content for the activity. | |
createdAt | Long | Timestamp when the activity was created. | |
cta | String | Call to action for the activity. | |
entityId | String | ID of the entity for which activity is generated. | |
entityOwnerId | String | ID of the entity creator for which activity is generated. | |
entityType | Int | Type of entity for which activity is generated. | |
isRead | Boolean | True if the notification is read already, false otherwise. | |
updatedAt | Long | Timestamp when the activity was last updated. | |
activityEntityData | ActivityEntityData | Data of the entity. | ✔ |
uuid | String | Unique ID of like creator. |
ActivityEntityData
VARIABLE | TYPE | DESCRIPTION | OPTIONAL |
---|---|---|---|
id | String | ID of the entity. | |
text | String | Text content in the entity. | |
deleteReason | String | Reason for deletion of entity. | ✔ |
deletedBy | String | ID of the user who delete the entity. | ✔ |
heading | String | Heading for the entity | ✔ |
attachments | List<Attachment> | List of attachments in the entity. | ✔ |
communityId | Int | ID of the community where the entity was created. | |
isEdited | Boolean | True if the entity was edited, false otherwise. | |
isPinned | Boolean | True if entity was pinned false otherwise. | ✔ |
postId | String | ID of the post related to the entity. | ✔ |
userId | String | ID of the entity creator. | |
replies | List<Comment> | List of replies to the entity. | ✔ |
level | Int | Level of comment if entity is a comment. | ✔ |
createdAt | Long | Timestamp when the entity was created. | |
updatedAt | Long | Timestamp when the entity was last updated. | |
uuid | String | Unique ID of like creator. | |
deleteByUUID | String | ID of the user who delete the entity. |