Bot User • AI Agent SDK

BotUser: Represents a user in a messaging platform.

BotUser

Defined in the protocols module.

AI Agent

Represents a user in a messaging platform.

Attributes: user_id: Platform-specific user identifier username: User’s username (if available) display_name: User’s display name is_bot: Whether this user is a bot metadata: Additional platform-specific metadata

Properties

ResponseField str

No description available.

ResponseField Optional[str]

No description available.

ResponseField Optional[str]

No description available.

ResponseField bool

No description available.

ResponseField Dict[str, Any]

No description available.

Internal & Generic Methods
  • from_dict: Create from dictionary.
  • to_dict: Convert to dictionary.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 438