Toloka documentation

UserBonusEvent

toloka.streaming.event.UserBonusEvent | Source code

UserBonusEvent(
    self,
    *,
    event_time: Optional[datetime] = None,
    user_bonus: Optional[UserBonus] = None
)

UserBonus-related event.

Parameters Description

Parameters Type Description
event_time Optional[datetime]

Event datetime.

user_bonus Optional[UserBonus]

UserBonus object itself.