Skip to main content

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

str
No description available.
Optional[str]
No description available.
Optional[str]
No description available.
bool
No description available.
Dict[str, Any]
No description available.
  • from_dict: Create from dictionary.
  • to_dict: Convert to dictionary.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 405