Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/xmistt/rebootpy/llms.txt

Use this file to discover all available pages before exploring further.

PartyMessage

Represents a message sent in a party.

Properties

client

Type: Client The client instance.

party

Type: ClientParty The party where the message was sent.

author

Type: PartyMember The author of the message.

content

Type: str The content of the message.

created_at

Type: datetime.datetime The time when this message was received in UTC.

Methods

reply

await reply(content: str) -> None
Replies to the message with the given content. Parameters:
  • content (str) - The content of the message, up to 256 characters.
Raises:
  • ChatError - Content is longer than 256 characters or the client is in a party on its own.
Example:
@client.event
async def event_party_message(message):
    if message.content.lower() == 'ready?':
        await message.reply('Yes!')

Build docs developers (and LLMs) love