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

# 类: FriendRecallEvent

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

**继承自:** [FriendEvent](/api/friendevent.md)

RainyBot的好友消息撤回事件类，记录了某次好友消息撤回事件的相关数据

## 方法

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

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

***

* [int](https://docs.godotengine.org/en/latest/classes/class_int.html) **get\_sender\_id ( )**

获取事件原消息发送者的ID

***

* [int](https://docs.godotengine.org/en/latest/classes/class_int.html) **get\_message\_id ( )**

获取事件对应的原消息的ID

***

* [int](https://docs.godotengine.org/en/latest/classes/class_int.html) **get\_message\_time ( )**

获取事件对应的原消息的发送时间

***

* [int](https://docs.godotengine.org/en/latest/classes/class_int.html) **get\_operator\_id ( )**

获取造成此事件的成员的ID(通常为此事件对应的好友的ID或Bot自身的ID)

***
