symphony.bdk.core.activity.user_joined_room.UserJoinedRoomContext#
- class symphony.bdk.core.activity.user_joined_room.UserJoinedRoomContext(initiator: symphony.bdk.gen.agent_model.v4_initiator.V4Initiator, source_event: symphony.bdk.gen.agent_model.v4_user_joined_room.V4UserJoinedRoom)#
Bases:
symphony.bdk.core.activity.api.ActivityContext[symphony.bdk.gen.agent_model.v4_user_joined_room.V4UserJoinedRoom]Default implementation of the :py:class`ActivityContext` handled by the
UserJoinedRoomActivity- __init__(initiator: symphony.bdk.gen.agent_model.v4_initiator.V4Initiator, source_event: symphony.bdk.gen.agent_model.v4_user_joined_room.V4UserJoinedRoom)#
- Parameters
initiator – The activity initiator (i.e. the Symphony user that triggered an event in the chat)
source_event – The activity source real-time event.
Methods
__init__(initiator, source_event)- param initiator
The activity initiator (i.e. the Symphony user that triggered an event in the chat)
Attributes
affected_user_id- return
The activity initiator (i.e. the Symphony user that triggered an event in the chat)
- return
The activity source real-time event.
stream_id- property initiator#
- Returns
The activity initiator (i.e. the Symphony user that triggered an event in the chat)
- property source_event#
- Returns
The activity source real-time event.