symphony.bdk.core.activity.api.ActivityContext#

class symphony.bdk.core.activity.api.ActivityContext(initiator: symphony.bdk.gen.agent_model.v4_initiator.V4Initiator, source_event: symphony.bdk.core.activity.api.E)#

Bases: Generic[symphony.bdk.core.activity.api.E]

Base class for any activity context holder.

__init__(initiator: symphony.bdk.gen.agent_model.v4_initiator.V4Initiator, source_event: symphony.bdk.core.activity.api.E)#
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

initiator

return

The activity initiator (i.e. the Symphony user that triggered an event in the chat)

source_event

return

The activity source real-time event.

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.