Skip to main content

set_agent

Method
This is a method of the BotProtocol class in the protocols module.
Set the agent that handles messages.

Signature

def set_agent(agent: 'Agent') -> None

Parameters

agent
Agent
required
The agent to handle incoming messages