import Base from '../../Base'; import PartyMessage from './PartyMessage'; import type Client from '../../Client'; import type ClientParty from './ClientParty'; /** * Represents a party's conversation */ declare class PartyChat extends Base { /** * The chat room's party */ party: ClientParty; /** * @param client The main client * @param party The chat room's party */ constructor(client: Client, party: ClientParty); /** * the party chat's conversation id */ get conversationId(): string; /** * Sends a message to this party chat * @param content The message that will be sent * @throws {PartyChatConversationNotFoundError} When the client is the only party member */ send(content: string): Promise; } export default PartyChat;