Skip to main content

BotUser

Defined in the protocols module.
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

user_id
str
No description available.
username
Optional
No description available.
display_name
Optional
No description available.
is_bot
bool
No description available.
metadata
Dict
No description available.
  • from_dict: Create from dictionary.
  • to_dict: Convert to dictionary.