Events shared by users in the ContactsManager SDK
SocialEvent
model represents a social activity or event shared by users in the ContactsManager ecosystem. Events can represent various types of social interactions, from calendar events to posts, check-ins, and more.
id: String
- Unique identifier for the eventorganizationId: String
- Organization the event belongs tocanonicalContactId: String
- Canonical contact ID of event creatoruserId: String?
- External user ID of event creatoreventType: String
- Type of event (e.g., “post”, “photo”, “activity”, “check-in”)title: String
- Event title or main content textdescription: String?
- Optional detailed description or extended contentlocation: String?
- Optional location name or addressstartTime: Date?
- When the event occurred or should be displayed fromendTime: Date?
- Optional end time for events with durationisPublic: Bool
- Whether the event is visible in public feedsmetadata: [String: String]?
- Custom data specific to the event typecreatedBy: EventCreator?
- Information about who created the eventcreatedAt: Date
- When the event was createdupdatedAt: Date
- When the event was last updatedeventType
field combined with the metadata
field allows for flexible event modeling: