Widget
Widget
| VARIABLE | TYPE | DESCRIPTION | OPTIONAL |
|---|---|---|---|
| id | String | Unique identifier for the widget | ✔ |
| parentEntityID | String | ID of the parent entity | ✔ |
| parentEntityType | String | Type of the parent entity | ✔ |
| metadata | [String: Any] | Additional metadata associated with the widget | ✔ |
| createdAt | Double | Timestamp of when the widget was created | ✔ |
| updatedAt | Double | Timestamp of when the widget was last updated | ✔ |
| lmMeta | LMMeta | Additional metadata specific to LikeMinds | ✔ |
LMMeta
| VARIABLE | TYPE | DESCRIPTION | OPTIONAL |
|---|---|---|---|
| options | PollOption[] | Array of poll options | |
| pollAnswerText | String | Text of the poll answer | ✔ |
| isShowResult | Bool | Whether to show the poll results | ✔ |
| voteCount | Int | Number of votes cast in the poll | ✔ |