> For the complete documentation index, see [llms.txt](https://docs.rainybot.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rainybot.dev/api/roleapi.md).

# 类: RoleAPI

[(返回目录)](/api.md)

**继承自:** [RainyBotAPI](/api/rainybotapi.md)

**子类:** [GroupAPI](/api/groupapi.md), [MemberAPI](/api/memberapi.md), [OtherClient](/api/otherclient.md)

RainyBot的角色API类，所有的角色相关API将直接或间接继承此类

## 描述

这是RainyBot的角色API类，所有的角色相关API将直接或间接继承此类\
角色在RainyBot中定义为可与机器人交互的个体，如群组/群成员/好友/陌生人/其他客户端等
