Description
This event is only triggers by JS SDK and is used to build custom journeys which are tied to some particular user events (custom user events)
class UserKafkaEventFront(BaseKafkaModel):
_topic = 'user_custom_events_front'
def __init__(self, event_id: int, subscriber_uuid: str, channel_id: int, timestamp: int = None,
attributes_json: str = None, messages_json: str = None, **kwargs):
super().__init__(**kwargs)
self.event_id = event_id
self.channel_id = channel_id
self.subscriber_uuid = subscriber_uuid
self.attributes_json = attributes_json or '{}'
self.messages_json = messages_json or '[]'
self.timestamp = timestamp or int(time.time())