> 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/groupallowanonychatevent.md).

# 类: GroupAllowAnonyChatEvent

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

**继承自:** [GroupEvent](/api/groupevent.md)

RainyBot的群组匿名聊天允许状态变更类，其实例记录了与一次群组匿名聊天允许状态变更事件相关的数据

## 方法

* static [GroupAllowAnonyChatEvent](/api/groupallowanonychatevent.md) **init\_meta (** [Dictionary](https://docs.godotengine.org/en/latest/classes/class_dictionary.html) dic **)**

通过机器人协议后端的元数据字典构造一个此类的实例，仅当你知道自己在做什么时才使用

***

* [bool](https://docs.godotengine.org/en/latest/classes/class_bool.html) **get\_origin\_state ( )**

获取变更前的匿名聊天允许状态

***

* [bool](https://docs.godotengine.org/en/latest/classes/class_bool.html) **get\_current\_state ( )**

获取变更后当前的匿名聊天允许状态

***

* [GroupMember](/api/groupmember.md) **get\_operator ( )**

获取导致此事件的操作者的成员实例，可能是事件对应群组的管理员或群主

***

* [Group](/api/group.md) **get\_group ( )**

获取此事件实例所对应的群组实例

***
