企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 微信公众号取消关注事件消息 UnSubscribeEventMessage **目录 (Table of Contents)** [TOC] ## 类基本信息 **类简要描述:** - 微信取消关注事件消息,用于微信公众号用户取消关注公众号后服务器响应事件 **类名字空间:** - endor/wechat/message **类成员变量说明:** |成员变量|类型|访问修饰|说明 |:---- |:---|:----- |----- | |$_eventKey | string | protected | 消息事件的Key标识 | **类继承关系:** UnSubscribeEventMessage -> EventMessage -> Message ## 类成员函数/方法 >[danger] 事件消息仅需本地处理,故不提供 response() 接口 ### __construct($platform, $user, $timestamp, $msgId ,$eventType) + 参数列表: |参数名|类型|必填项|说明 |:---- |:---|:----- |----- | |$platform| string | 是 | 微信公众号 ID | |$user| string | 是 | 用户ID | |$timestamp|int 是 | 时间戳 | |$msgId| string | 是 | 本次消息的ID | |$eventType | string | 是 | 事件类型 | + 返回值: `无` + 函数说明: `构造函数`