AgentSkillsCN

Read Chat History

读取聊天历史

SKILL.md

Read Chat History

Reads the recent chat history of the current channel.

Usage

read_chat_history(limit=20)

Parameters

  • limit (int): Number of messages to read (default 20).
  • channel_id (int, optional): The ID of the channel to read from. Defaults to current channel.